SamlSecurityTokenAuthenticator.CanValidateTokenCore(SecurityToken) Método

Definição

Obtém um valor que indica se o token de segurança especificado pode ser validado por este autenticador de token de segurança.Gets a value that indicates whether the specified security token can be validated by this security token authenticator.

protected:
 override bool CanValidateTokenCore(System::IdentityModel::Tokens::SecurityToken ^ token);
protected override bool CanValidateTokenCore (System.IdentityModel.Tokens.SecurityToken token);
override this.CanValidateTokenCore : System.IdentityModel.Tokens.SecurityToken -> bool
Protected Overrides Function CanValidateTokenCore (token As SecurityToken) As Boolean

Parâmetros

token
SecurityToken

O SecurityToken a ser validado.The SecurityToken to be validated.

Retornos

Boolean

true quando token é um token de segurança SamlSecurityToken, caso contrário, false.true when token is a SamlSecurityToken security token; otherwise, false.

Comentários

O CanValidateTokenCore método não autentica o token de segurança; que é executado pelo ValidateTokenCore método.The CanValidateTokenCore method does not authenticate the security token; that is performed by the ValidateTokenCore method.

Aplica-se a