GenericXmlSecurityToken.MatchesKeyIdentifierClause Method

Definition

Returns a value that indicates whether the key identifier for this instance is equal to the specified key identifier.

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

An SecurityKeyIdentifierClause to compare to this instance.

Returns

true when keyIdentifierClause is not null and matches either the InternalTokenReference or ExternalTokenReference property values; otherwise, false.

Remarks

The keyIdentifierClause parameter is matched against the InternalTokenReference and ExternalTokenReference property values using the Matches method on the key identifier clause that is returned by the property values.

Applies to