SecurityTokenParameters.MatchesKeyIdentifierClause(SecurityToken, SecurityKeyIdentifierClause, SecurityTokenReferenceStyle) Método
Definição
Indica se um token corresponde a uma cláusula de identificador de chave.Indicates whether a token matches a key identifier clause.
protected public:
virtual bool MatchesKeyIdentifierClause(System::IdentityModel::Tokens::SecurityToken ^ token, System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause, System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle referenceStyle);
protected internal virtual bool MatchesKeyIdentifierClause (System.IdentityModel.Tokens.SecurityToken token, System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle referenceStyle);
abstract member MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityToken * System.IdentityModel.Tokens.SecurityKeyIdentifierClause * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle -> bool
override this.MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityToken * System.IdentityModel.Tokens.SecurityKeyIdentifierClause * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle -> bool
Protected Friend Overridable Function MatchesKeyIdentifierClause (token As SecurityToken, keyIdentifierClause As SecurityKeyIdentifierClause, referenceStyle As SecurityTokenReferenceStyle) As Boolean
Parâmetros
- token
- SecurityToken
O token de segurança.The security token.
- keyIdentifierClause
- SecurityKeyIdentifierClause
A cláusula de identificador de chave especificada.The specified key identifier clause.
- referenceStyle
- SecurityTokenReferenceStyle
O estilo de referência do token de segurança.The reference style of the security token.
Retornos
true se o token corresponde à cláusula de identificador de chave; caso contrário, false.true if the token matches the key identifier clause; otherwise, false.
Exceções
token é null.token is null.