SecurityTokenParameters.MatchesKeyIdentifierClause Méthode

Définition

Indique si un jeton correspond à une clause d'identificateur de clé.

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

Paramètres

token
SecurityToken

Jeton de sécurité.

keyIdentifierClause
SecurityKeyIdentifierClause

Clause d'identificateur de clé spécifiée.

referenceStyle
SecurityTokenReferenceStyle

Style de référence du jeton de sécurité.

Retours

Boolean

true si le jeton correspond à la clause d'identificateur de clé ; sinon, false.

Exceptions

token a la valeur null.

referenceStyle n'est pas External, ni Internal.

S’applique à