MatchesKeyIdentifierClause Method

SamlSecurityToken.MatchesKeyIdentifierClause Method (SecurityKeyIdentifierClause)


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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override bool MatchesKeyIdentifierClause(
	SecurityKeyIdentifierClause keyIdentifierClause


Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

An SecurityKeyIdentifierClause to compare to this instance.

Return Value

Type: System.Boolean

true if keyIdentifierClause is a SamlAssertionKeyIdentifierClause and it has the same unique identifier as the Id property; otherwise, false.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft