Home Reference Source Test Repository
public class | source

LoginManager

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

user: *

Method Summary

Public Methods
public

checkStatus(): jQuery.Deferred

Check to see if the user is currently logged in.

public

error()

public

statusFetched(user: Object): *

Callback from checking the user's login status. If the user is not logged in, it will publish a user with a null id. Will check for user notifications if the user is logged in.

Public Constructors

public constructor source

Public Members

public feedUrl: string source

public statusUrl: string source

public user: * source

Public Methods

public checkStatus(): jQuery.Deferred source

Check to see if the user is currently logged in.

Return:

jQuery.Deferred

public error() source

public statusFetched(user: Object): * source

Callback from checking the user's login status. If the user is not logged in, it will publish a user with a null id. Will check for user notifications if the user is logged in.

Params:

NameTypeAttributeDescription
user Object

User login information

Return:

*