Login   Register  
PHP Classes
elePHPant
Icontem

Return true/false if user logged in

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP OAuth API  >  All threads  >  Return true/false if user logged in  >  (Un) Subscribe thread alerts  
Subject:Return true/false if user logged in
Summary:Check if user is already logged in without then logging in
Messages:2
Author:tazmoka
Date:2013-09-16 14:30:22
Update:2013-10-13 08:24:48
 

  1. Return true/false if user logged in   Reply  
Picture of tazmoka
tazmoka
2013-09-16 14:30:22
Hi,

I was wondering whether there is a way of testing whether a user is logged in (and returning true/false) without then having the specific API login screen display if they are not logged in.

Any help gratefully received, thanks.

Rocco

  2. Re: Return true/false if user logged in   Reply  
Picture of Manuel Lemos
Manuel Lemos
2013-10-13 08:24:48 - In reply to message 1 from tazmoka
There is the GetAccessToken function which you can use as documented but it does not tell if the eventually retrieved token is still valid or expired. There is another function for that but it is not documented yet.