Users_AppUser_Interface Class
Interface that an adapter must support to extend the Users_AppUser class.
Item Index
Methods
- authenticate static
Methods
authenticate
(
Users_Platform_Facebook | Null
static
-
[$appId=Q::app()]
-
[$setCookie=true]
-
[$longLived=true]
Interface class for external platforms, for Platform adapters.
Parameters:
-
[$appId=Q::app()]
String optionalCan either be an internal appId or a platform appId.
-
[$setCookie=true]
Boolean optionalWhether to set a cookie to do auth in subsequent requests
-
[$longLived=true]
Boolean optionalGet a long-lived access token, if necessary
Returns:
Users_Platform_Facebook | Null:
Facebook object