Method | Description | |
---|---|---|
Authenticate ( UserLogin user, string password ) : System.Boolean |
Authenticates the specified user name.
|
|
Authenticate ( |
Authenticates the user based on a request from a third-party provider. Will set the username and returnUrl values.
|
|
ChangePassword ( UserLogin user, string oldPassword, string newPassword, string &warningMessage ) : bool |
Changes the password.
|
|
EncodePassword ( UserLogin user, string password ) : String |
Encodes the password.
|
|
GenerateLoginUrl ( |
Generates the login URL.
|
|
GenerateUsername ( string firstName, string lastName, int tryCount ) : string |
Generates the username.
|
|
ImageUrl ( ) : string |
Gets the URL of an image that should be displayed.
|
|
IsReturningFromAuthentication ( |
Tests the Http Request to determine if authentication should be tested by this authentication provider.
|
|
SetPassword ( UserLogin user, string password ) : void |
Sets the password.
|
Method | Description | |
---|---|---|
AuthenticateBcrypt ( UserLogin user, string password ) : bool | ||
AuthenticateSha1 ( UserLogin user, string password ) : bool | ||
Database ( ) : System |
Initializes the Database class.
|
|
EncodeBcrypt ( string password ) : string | ||
EncodePassword ( UserLogin user, string password, byte encryptionKey ) : string |
Encodes the password.
|
|
EncodeSha1 ( System.Guid userGuid, string password, byte encryptionKey ) : string | ||
SetNewPassword ( UserLogin user, string rawPassword ) : UserLogin |
public Authenticate ( UserLogin user, string password ) : System.Boolean | ||
user | UserLogin | The user. |
password | string | The password. |
return | System.Boolean |
public Authenticate ( |
||
request | The request. | |
userName | string | Name of the user. |
returnUrl | string | The return URL. |
return | bool |
public ChangePassword ( UserLogin user, string oldPassword, string newPassword, string &warningMessage ) : bool | ||
user | UserLogin | The user. |
oldPassword | string | The old password. |
newPassword | string | The new password. |
warningMessage | string | The warning message. |
return | bool |
public EncodePassword ( UserLogin user, string password ) : String | ||
user | UserLogin | The user. |
password | string | |
return | String |
public GenerateLoginUrl ( |
||
request | The request. | |
return |
public static GenerateUsername ( string firstName, string lastName, int tryCount ) : string | ||
firstName | string | The first name. |
lastName | string | The last name. |
tryCount | int | The try count. |
return | string |
public IsReturningFromAuthentication ( |
||
request | The request. | |
return | bool |
public SetPassword ( UserLogin user, string password ) : void | ||
user | UserLogin | The user. |
password | string | The password. |
return | void |