C# Class RockWeb.Blocks.Security.Login

Inheritance: Rock.Web.UI.RockBlock
Exibir arquivo Open project: SparkDevNetwork/Rock

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

btnHelp_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnHelp control.

btnLogin_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnLogin control. NOTE: This is the btnLogin for Internal Auth

btnNewAccount_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnLogin control.

lbLogin_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbLogin control. NOTE: This is the lbLogin for External/Remote logins

Private Methods

Method Description
DisplayError ( string message ) : void

Displays the error.

LoginUser ( string userName, string returnUrl, bool rememberMe ) : void

Logs in the user.

SendConfirmation ( UserLogin userLogin ) : void

Sends the confirmation.

Method Details

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
return void

btnHelp_Click() protected method

Handles the Click event of the btnHelp control.
protected btnHelp_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnLogin_Click() protected method

Handles the Click event of the btnLogin control. NOTE: This is the btnLogin for Internal Auth
protected btnLogin_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

btnNewAccount_Click() protected method

Handles the Click event of the btnLogin control.
protected btnNewAccount_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

lbLogin_Click() protected method

Handles the Click event of the lbLogin control. NOTE: This is the lbLogin for External/Remote logins
protected lbLogin_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void