Show:

Users_AppUser_Interface Class

Interface that an adapter must support to extend the Users_AppUser class.

Item Index

Methods

Methods

authenticate

(
  • [$appId=Q::app()]
  • [$setCookie=true]
  • [$longLived=true]
)
Users_Platform_Facebook | Null static

Interface class for external platforms, for Platform adapters.

Parameters:

  • [$appId=Q::app()] String optional

    Can either be an internal appId or a platform appId.

  • [$setCookie=true] Boolean optional

    Whether to set a cookie to do auth in subsequent requests

  • [$longLived=true] Boolean optional

    Get a long-lived access token, if necessary

Returns:

Users_Platform_Facebook | Null:

Facebook object