Метод | Описание | |
---|---|---|
Authenticate ( HttpRequest request, string &username, string &returnUrl ) : System.Boolean |
Authenticates the specified request.
|
|
Authenticate ( UserLogin user, string password ) : bool |
Authenticates the user based on user name and password
|
|
ChangePassword ( UserLogin user, string oldPassword, string newPassword, string &warningMessage ) : bool |
Changes the password.
|
|
EncodePassword ( UserLogin user, string password ) : string |
Encodes the password.
|
|
GenerateLoginUrl ( HttpRequest request ) : |
Generates the login URL.
|
|
GetGoogleUser ( GoogleUser googleUser, string accessToken = "" ) : string |
Gets the name of the Google user.
|
|
ImageUrl ( ) : String |
Gets the URL of an image that should be displayed.
|
|
IsReturningFromAuthentication ( HttpRequest request ) : System.Boolean |
Tests the Http Request to determine if authentication should be tested by this authentication provider.
|
|
SetPassword ( UserLogin user, string password ) : void |
Sets the password.
|
Метод | Описание | |
---|---|---|
GetRedirectUrl ( HttpRequest request ) : string |
public Authenticate ( HttpRequest request, string &username, string &returnUrl ) : System.Boolean | ||
request | HttpRequest | The request. |
username | string | The username. |
returnUrl | string | The return URL. |
Результат | System.Boolean |
public Authenticate ( UserLogin user, string password ) : bool | ||
user | UserLogin | The user. |
password | string | The password. |
Результат | 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. |
Результат | bool |
public EncodePassword ( UserLogin user, string password ) : string | ||
user | UserLogin | The user. |
password | string | The password. |
Результат | string |
public GenerateLoginUrl ( HttpRequest request ) : |
||
request | HttpRequest | Forming the URL to obtain user consent |
Результат |
public static GetGoogleUser ( GoogleUser googleUser, string accessToken = "" ) : string | ||
googleUser | GoogleUser | The Google user. |
accessToken | string | The access token. |
Результат | string |
public IsReturningFromAuthentication ( HttpRequest request ) : System.Boolean | ||
request | HttpRequest | The request. |
Результат | System.Boolean |
public SetPassword ( UserLogin user, string password ) : void | ||
user | UserLogin | The user. |
password | string | The password. |
Результат | void |