Last modified: March 13, 2015
The user completes the sign-in process.
A string with the current status, for example, "connected".
The current session object instance.
The user completes the sign-out process.
The user's access token has changed.
None. Retrieve the current session by calling WL.getSession.
The user's status has changed.
None. Retrieve the user's status by calling WL.getLoginStatus.
An error has occurred with an API call.
A string with the error message.
Required. Specifies the name of the callback function to handle the event.
This function can return the following errors:
WL.Event.subscribe: The input parameter/property 'callback' must be included.
WL.Event.subscribe: The input value for parameter/property 'event' is not valid.
When handling the wl.log event, the logging attribute must be set to "true" in the call to WL.init; otherwise, log events will not be fired.