Метод | Описание | |
---|---|---|
GenericUserNameSecurityTokenHandler ( ) : System |
Initializes a new instance of the GenericUserNameSecurityTokenHandler class.
|
|
GenericUserNameSecurityTokenHandler ( ValidateUserNameCredentialDelegate validateUserNameCredential ) : System |
Initializes a new instance of the GenericUserNameSecurityTokenHandler class.
|
|
ValidateToken ( System.IdentityModel.Tokens.SecurityToken token ) : ClaimsIdentityCollection |
Validates the username and password.
|
Метод | Описание | |
---|---|---|
ValidateUserNameCredentialCore ( string userName, string password ) : bool |
Validates the user name credential core.
|
public GenericUserNameSecurityTokenHandler ( ) : System | ||
Результат | System |
public GenericUserNameSecurityTokenHandler ( ValidateUserNameCredentialDelegate validateUserNameCredential ) : System | ||
validateUserNameCredential | ValidateUserNameCredentialDelegate | The credential validation callback. |
Результат | System |
public ValidateToken ( System.IdentityModel.Tokens.SecurityToken token ) : ClaimsIdentityCollection | ||
token | System.IdentityModel.Tokens.SecurityToken | The token. |
Результат | ClaimsIdentityCollection |
protected ValidateUserNameCredentialCore ( string userName, string password ) : bool | ||
userName | string | Name of the user. |
password | string | The password. |
Результат | bool |