Packagecom.distriqt.extension.facebook.login.events
Classpublic class FacebookLoginEvent
InheritanceFacebookLoginEvent Inheritance flash.events.Event

This class represents the login related events dispatched by the Facebook Login ANE.



Public Properties
 PropertyDefined By
  accessToken : AccessToken = null
The current user access token or null if one is not available
FacebookLoginEvent
  authToken : AuthenticationToken = null
AuthenticationToken used for a login attempt.
FacebookLoginEvent
  profile : Profile = null
The current user profile, includes information about the user's name etc or null if profile information is not available
FacebookLoginEvent
Public Methods
 MethodDefined By
  
FacebookLoginEvent(type:String, accessToken:AccessToken = null, profile:Profile = null, authToken:AuthenticationToken = null, bubbles:Boolean = false, cancelable:Boolean = false)
FacebookLoginEvent
  
clone():Event
[override]
FacebookLoginEvent
Public Constants
 ConstantDefined By
  CANCEL : String = facebook:login:cancel
[static] The user cancelled the login process
FacebookLoginEvent
  SUCCESS : String = facebook:login:success
[static] Login was successful and the user is now logged in
FacebookLoginEvent
Property Detail
accessTokenproperty
public var accessToken:AccessToken = null

The current user access token or null if one is not available

authTokenproperty 
public var authToken:AuthenticationToken = null

AuthenticationToken used for a login attempt. Can be used by a client to verify an authentication attempt.

profileproperty 
public var profile:Profile = null

The current user profile, includes information about the user's name etc or null if profile information is not available

Constructor Detail
FacebookLoginEvent()Constructor
public function FacebookLoginEvent(type:String, accessToken:AccessToken = null, profile:Profile = null, authToken:AuthenticationToken = null, bubbles:Boolean = false, cancelable:Boolean = false)



Parameters
type:String
 
accessToken:AccessToken (default = null)
 
profile:Profile (default = null)
 
authToken:AuthenticationToken (default = null)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
CANCELConstant
public static const CANCEL:String = facebook:login:cancel

The user cancelled the login process

SUCCESSConstant 
public static const SUCCESS:String = facebook:login:success

Login was successful and the user is now logged in