GenericXmlSecurityToken.MatchesKeyIdentifierClause Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET