C# Class _7_CryptoStorage.Account.RegisterCustom

Exibir arquivo Open project: candanbolukbas/Secure-Programming-Samples

Protected Properties

Property Type Description
ConfirmPassword global::System.Web.UI.WebControls.TextBox
ConfirmPasswordLabel global::System.Web.UI.WebControls.Label
ConfirmPasswordRequired global::System.Web.UI.WebControls.RequiredFieldValidator
CreateUserButton global::System.Web.UI.WebControls.Button
ErrorMessage global::System.Web.UI.WebControls.Literal
Password global::System.Web.UI.WebControls.TextBox
PasswordCompare global::System.Web.UI.WebControls.CompareValidator
PasswordLabel global::System.Web.UI.WebControls.Label
PasswordRequired global::System.Web.UI.WebControls.RequiredFieldValidator
RegisterUserValidationSummary global::System.Web.UI.WebControls.ValidationSummary
UserName global::System.Web.UI.WebControls.TextBox
UserNameLabel global::System.Web.UI.WebControls.Label
UserNameRequired global::System.Web.UI.WebControls.RequiredFieldValidator

Protected Methods

Method Description
CreateUserButton_Click ( object sender, EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Method Description
CreateUser ( string userName, string passwordHash ) : void
GetMd5Hash ( string input ) : string

Method Details

CreateUserButton_Click() protected method

protected CreateUserButton_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

ConfirmPassword protected_oe property

ConfirmPassword control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox ConfirmPassword
return global::System.Web.UI.WebControls.TextBox

ConfirmPasswordLabel protected_oe property

ConfirmPasswordLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label ConfirmPasswordLabel
return global::System.Web.UI.WebControls.Label

ConfirmPasswordRequired protected_oe property

ConfirmPasswordRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator ConfirmPasswordRequired
return global::System.Web.UI.WebControls.RequiredFieldValidator

CreateUserButton protected_oe property

CreateUserButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button CreateUserButton
return global::System.Web.UI.WebControls.Button

ErrorMessage protected_oe property

ErrorMessage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal ErrorMessage
return global::System.Web.UI.WebControls.Literal

Password protected_oe property

Password control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox Password
return global::System.Web.UI.WebControls.TextBox

PasswordCompare protected_oe property

PasswordCompare control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CompareValidator PasswordCompare
return global::System.Web.UI.WebControls.CompareValidator

PasswordLabel protected_oe property

PasswordLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label PasswordLabel
return global::System.Web.UI.WebControls.Label

PasswordRequired protected_oe property

PasswordRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator PasswordRequired
return global::System.Web.UI.WebControls.RequiredFieldValidator

RegisterUserValidationSummary protected_oe property

RegisterUserValidationSummary control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.ValidationSummary RegisterUserValidationSummary
return global::System.Web.UI.WebControls.ValidationSummary

UserName protected_oe property

UserName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox UserName
return global::System.Web.UI.WebControls.TextBox

UserNameLabel protected_oe property

UserNameLabel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label UserNameLabel
return global::System.Web.UI.WebControls.Label

UserNameRequired protected_oe property

UserNameRequired control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator UserNameRequired
return global::System.Web.UI.WebControls.RequiredFieldValidator