SecurityContextSecurityToken.MatchesKeyIdentifierClause(SecurityKeyIdentifierClause) 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 ^ clause);
public override bool MatchesKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
public override bool MatchesKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause clause);
override this.MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
override this.MatchesKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function MatchesKeyIdentifierClause (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean
Public Overrides Function MatchesKeyIdentifierClause (clause As SecurityKeyIdentifierClause) As Boolean

Parameters

keyIdentifierClauseclause
SecurityKeyIdentifierClause

The specified key identifier clause.

Returns

Boolean

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

Applies to