RequestedAuthenticationContext Class

 

Specifies the authentication context requirements of authentication statements returned in response to a request or query. Represents the <samlp:RequestedAuthnContext> element defined in [SamlCore, 3.3.2.2.1].

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

System.Object
  Microsoft.IdentityServer.Protocols.Saml.RequestedAuthenticationContext

public class RequestedAuthenticationContext

NameDescription
System_CAPS_pubmethodRequestedAuthenticationContext()

Initializes a new instance of the RequestedAuthenticationContext class.

NameDescription
System_CAPS_pubpropertyComparison

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

System_CAPS_pubpropertyReferences

Gets a collection that contains an ordered list of URIs that reference acceptable authentication context classes. [SamlCore, 3.3.2.2.1]

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

A RequestedAuthenticationContext object can be used to specify the desired method or methods of authentication and a comparison rule when performing IdP-initiated sign-on. It is used to set the SignOnRequestParameters.RequestedAuthenticationContext property of the SignOnRequestParameters object passed to the IdentityProviderInitiatedSignonPage.SignIn(String, SignOnRequestParameters) method.

The RequestedAuthenticationContext class is a limited representation of the <samlp:RequestedAuthnContext> element; it does not provide support for <AuthnContextDeclRef> child elements.

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

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: