SecurityTokenParameters.MatchesKeyIdentifierClause Methode

Definition

Gibt an, ob ein Token mit einer Schlüsselbezeichnerklausel übereinstimmt.

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

Der Verweisstil des Sicherheitstokens.

Gibt zurück

truewenn das Token der Schlüsselbezeichnerklausel entspricht; andernfalls . false

Ausnahmen

token ist null.

referenceStyle ist nicht External oder Internal.

Gilt für: