C# Class Gwupe.Agent.Managers.LoginManager

显示文件 Open project: gwupe/Gwupe Class Usage Examples

Public Properties

Property Type Description
IsLoggedIn bool
IsLoggingIn bool
LoginDetails Gwupe.Agent.Components.LoginDetails

Private Properties

Property Type Description
Connected void
Disconnected void
Login void
LoginGuest void
OnLoggedIn void
OnLoggedOut void
OnLoggingIn void
OnLoggingOut void
OnLoginFailed void
OnSigningUp void
OnSignupFailed void
ProcessLogin void

Public Methods

Method Description
Close ( ) : void
InvalidateSession ( ) : void
LoginManager ( ) : System
Logout ( bool clearPassword = true ) : void
Run ( ) : void
Signup ( String firstname, String lastname, String username, String password, String email, String location, bool supporter ) : void
Start ( ) : void

Private Methods

Method Description
Connected ( Object sender, EventArgs e ) : void
Disconnected ( Object sender, EventArgs e ) : void
Login ( String username, String password ) : void
LoginGuest ( ) : void
OnLoggedIn ( ) : void
OnLoggedOut ( ) : void
OnLoggingIn ( ) : void
OnLoggingOut ( ) : void
OnLoginFailed ( String fieldName, DataSubmitErrorCode errorCode ) : void
OnSigningUp ( ) : void
OnSignupFailed ( DataSubmitErrorArgs e ) : void
ProcessLogin ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

InvalidateSession() public method

public InvalidateSession ( ) : void
return void

LoginManager() public method

public LoginManager ( ) : System
return System

Logout() public method

public Logout ( bool clearPassword = true ) : void
clearPassword bool
return void

Run() public method

public Run ( ) : void
return void

Signup() public method

public Signup ( String firstname, String lastname, String username, String password, String email, String location, bool supporter ) : void
firstname String
lastname String
username String
password String
email String
location String
supporter bool
return void

Start() public method

public Start ( ) : void
return void

Property Details

IsLoggedIn public_oe property

public bool IsLoggedIn
return bool

IsLoggingIn public_oe property

public bool IsLoggingIn
return bool

LoginDetails public_oe property

public LoginDetails,Gwupe.Agent.Components LoginDetails
return Gwupe.Agent.Components.LoginDetails