Redigera

Dela via


SecurityContextSecurityToken.MatchesKeyIdentifierClause Method

Definition

Indicates whether the current token's key identifier clause matches a specified key identifier clause.

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

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

The specified key identifier clause.

Returns

true if the current token's key identifier clause matches a specified key identifier clause; otherwise, false. The default is false.

Applies to