SecurityTokenParameters.MatchesKeyIdentifierClause Metod

Definition

Anger om en token matchar en nyckelidentifierarsats.

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

Parametrar

token
SecurityToken

Säkerhetstoken.

keyIdentifierClause
SecurityKeyIdentifierClause

Den angivna nyckelidentifierarsatsen.

referenceStyle
SecurityTokenReferenceStyle

Referensformatet för säkerhetstoken.

Returer

trueom token matchar nyckelidentifierarsatsen; annars . false

Undantag

token är null.

referenceStyle är inte External eller Internal.

Gäller för