SamlSecurityToken.MatchesKeyIdentifierClause Method (SecurityKeyIdentifierClause)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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