Share via


SecurityTokenParameters.MatchesKeyIdentifierClause Método

Definição

Indica se um token corresponde a uma cláusula de identificador de chave.

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.

keyIdentifierClause
SecurityKeyIdentifierClause

A cláusula de identificador de chave especificada.

referenceStyle
SecurityTokenReferenceStyle

O estilo de referência do token de segurança.

Retornos

Boolean

true se o token corresponde à cláusula de identificador de chave; caso contrário, false.

Exceções

token é null.

referenceStyle não é External ou Internal.

Aplica-se a