Share via


SecurityTokenParameters.MatchesKeyIdentifierClause Methode

Definition

Gibt an, ob ein Token einer Schlüsselbezeichnerklausel entspricht.

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

Parameter

token
SecurityToken

Das Sicherheitstoken.

keyIdentifierClause
SecurityKeyIdentifierClause

Die angegebene Schlüsselbezeichnerklausel.

referenceStyle
SecurityTokenReferenceStyle

Das Verweisformat des Sicherheitstokens.

Gibt zurück

Boolean

true, wenn das Token der Schlüsselbezeichnerklausel entspricht, andernfalls false.

Ausnahmen

token ist null.

referenceStyle ist nicht External oder Internal.

Gilt für