C# 클래스 Thinktecture.IdentityModel.Tokens.GenericUserNameSecurityTokenHandler

Generic security token handler for username/password type credentials
상속: System.IdentityModel.Tokens.UserNameSecurityTokenHandler
파일 보기 프로젝트 열기: IdentityModel/Thinktecture.IdentityModel.v1

공개 메소드들

메소드 설명
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.

메소드 상세

GenericUserNameSecurityTokenHandler() 공개 메소드

Initializes a new instance of the GenericUserNameSecurityTokenHandler class.
public GenericUserNameSecurityTokenHandler ( ) : System
리턴 System

GenericUserNameSecurityTokenHandler() 공개 메소드

Initializes a new instance of the GenericUserNameSecurityTokenHandler class.
public GenericUserNameSecurityTokenHandler ( ValidateUserNameCredentialDelegate validateUserNameCredential ) : System
validateUserNameCredential ValidateUserNameCredentialDelegate The credential validation callback.
리턴 System

ValidateToken() 공개 메소드

Validates the username and password.
public ValidateToken ( System.IdentityModel.Tokens.SecurityToken token ) : ClaimsIdentityCollection
token System.IdentityModel.Tokens.SecurityToken The token.
리턴 ClaimsIdentityCollection

ValidateUserNameCredentialCore() 보호된 메소드

Validates the user name credential core.
protected ValidateUserNameCredentialCore ( string userName, string password ) : bool
userName string Name of the user.
password string The password.
리턴 bool