PHP Classes

Sign in a user

Recommend this page to a friend!

      PHP OAuth Library API  >  All threads  >  Sign in a user  >  (Un) Subscribe thread alerts  
Subject:Sign in a user
Summary:how to sign in a user
Author:Martin Horst
Date:2013-04-21 16:39:45
Update:2013-04-21 23:59:55

  1. Sign in a user   Reply   Report abuse  
Martin Horst - 2013-04-21 16:39:45

first of all: excellent work!

Maybe it's a stupid question but I need to ask it anyway. How would I go about loggin in a user? I'm trying write a client that will work on behalf of a specific user.

  2. Re: Sign in a user   Reply   Report abuse  
Manuel Lemos - 2013-04-21 23:59:55 - In reply to message 1 from Martin Horst
As far as I know, OAuth does not give clients control over that. What you can do is to query the API to determine what user granted you a token. If it is not the user you want, you can reset the token and ask the user to authorize as the right user.