C# Class afeprojectnameMembership.CodeFirstExtendedProvider

Inheritance: System.Web.Security.MembershipProvider
Mostra file Open project: RyannosaurusRex/Shoelace-MVC Class Usage Examples

Public Methods

Method Description
ConfirmAccount ( string accountConfirmationToken ) : bool
CreateAccount ( string userName, string password, string email ) : string
CreateAccount ( string userName, string password, string email, bool requireConfirmationToken ) : string
DeleteAccount ( string userName ) : bool
ExtendedValidateUser ( string userNameOrEmail, string password ) : string
GeneratePasswordResetToken ( string userName ) : string
GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string
GetCreateDate ( string userName ) : System.DateTime
GetLastPasswordFailureDate ( string userName ) : System.DateTime
GetPasswordChangedDate ( string userName ) : System.DateTime
GetPasswordFailuresSinceLastSuccess ( string userName ) : int
GetUserIdFromPasswordResetToken ( string token ) : System.Guid
IsConfirmed ( string userName ) : bool
ResetPasswordWithToken ( string token, string newPassword ) : bool

Method Details

ConfirmAccount() public abstract method

public abstract ConfirmAccount ( string accountConfirmationToken ) : bool
accountConfirmationToken string
return bool

CreateAccount() public method

public CreateAccount ( string userName, string password, string email ) : string
userName string
password string
email string
return string

CreateAccount() public abstract method

public abstract CreateAccount ( string userName, string password, string email, bool requireConfirmationToken ) : string
userName string
password string
email string
requireConfirmationToken bool
return string

DeleteAccount() public abstract method

public abstract DeleteAccount ( string userName ) : bool
userName string
return bool

ExtendedValidateUser() public abstract method

public abstract ExtendedValidateUser ( string userNameOrEmail, string password ) : string
userNameOrEmail string
password string
return string

GeneratePasswordResetToken() public method

public GeneratePasswordResetToken ( string userName ) : string
userName string
return string

GeneratePasswordResetToken() public abstract method

public abstract GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string
userName string
tokenExpirationInMinutesFromNow int
return string

GetCreateDate() public abstract method

public abstract GetCreateDate ( string userName ) : System.DateTime
userName string
return System.DateTime

GetLastPasswordFailureDate() public abstract method

public abstract GetLastPasswordFailureDate ( string userName ) : System.DateTime
userName string
return System.DateTime

GetPasswordChangedDate() public abstract method

public abstract GetPasswordChangedDate ( string userName ) : System.DateTime
userName string
return System.DateTime

GetPasswordFailuresSinceLastSuccess() public abstract method

public abstract GetPasswordFailuresSinceLastSuccess ( string userName ) : int
userName string
return int

GetUserIdFromPasswordResetToken() public abstract method

public abstract GetUserIdFromPasswordResetToken ( string token ) : System.Guid
token string
return System.Guid

IsConfirmed() public abstract method

public abstract IsConfirmed ( string userName ) : bool
userName string
return bool

ResetPasswordWithToken() public abstract method

public abstract ResetPasswordWithToken ( string token, string newPassword ) : bool
token string
newPassword string
return bool