Saml2SecurityToken.MatchesKeyIdentifierClause Method (SecurityKeyIdentifierClause)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

keyIdentifierClause
Type: System.IdentityModel.Tokens.SecurityKeyIdentifierClause

An SecurityKeyIdentifierClause to compare to this instance.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 4.5
Return to top
Show: