SamlSecurityToken.MatchesKeyIdentifierClause Method

Definition

Returns a value indicating 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 if keyIdentifierClause is a SamlAssertionKeyIdentifierClause and it has the same unique identifier as the Id property; otherwise, false.

Applies to