GenericXmlSecurityToken.MatchesKeyIdentifierClause Método

Definição

Retorna um valor que indica se o identificador de chave para essa instância é igual ao identificador de chave especificado.

public:
 override bool MatchesKeyIdentifierClause(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public override bool MatchesKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
override this.MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function MatchesKeyIdentifierClause (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

Parâmetros

keyIdentifierClause
SecurityKeyIdentifierClause

Um SecurityKeyIdentifierClause a ser comparado a esta instância.

Retornos

true quando keyIdentifierClause não for null e corresponder aos valores de propriedade InternalTokenReference ou ExternalTokenReference; caso contrário, false.

Comentários

O keyIdentifierClause parâmetro é correspondido com os valores de InternalTokenReference propriedade e ExternalTokenReference usando o Matches método na cláusula de identificador de chave retornada pelos valores da propriedade.

Aplica-se a