RequestedAuthenticationContext.Comparison Property

 

Gets or sets the comparison rule used by the responder to match the references. [SamlCore, 3.3.2.2.1]

Namespace:   Microsoft.IdentityServer.Protocols.Saml
Assembly:  Microsoft.IdentityServer (in Microsoft.IdentityServer.dll)

public AuthenticationContextComparisonType Comparison { get; set; }

Property Value

Type: Microsoft.IdentityServer.Protocols.Saml.AuthenticationContextComparisonType

A AuthenticationContextComparisonType value that represents the comparison rule. The default is Exact.

Exception Condition
ArgumentOutOfRangeException

An attempt to set the property to a value that is not one of the AuthenticationContextComparisonType values occurs.

The Comparison property specifies how AD FS 2.0 evaluates the authentication context classes in the References collection to determine how to authenticate the user. The relative strength of different authentication context classes is determined according to the order in which they are specified in the Authentication Context Order settings. For more information about the Authentication Context Order settings, see Supported SAML Authentication Context Classes and Strengths.

For more information about how to use the RequestedAuthenticationContext class including code samples, see IdpInitiatedSignOnPage Class Overview

Return to top

Community Additions

ADD
Show: