共用方式為


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)

Inheritance Hierarchy

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

Syntax

public class RequestedAuthenticationContext
public ref class RequestedAuthenticationContext 
type RequestedAuthenticationContext = class end
Public Class RequestedAuthenticationContext

Constructors

Name Description
System_CAPS_pubmethod RequestedAuthenticationContext()

Initializes a new instance of the RequestedAuthenticationContext class.

Properties

Name Description
System_CAPS_pubproperty Comparison

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

System_CAPS_pubproperty References

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

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

Thread Safety

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

See Also

SignOnRequestParameters.RequestedAuthenticationContext
IdentityProviderInitiatedSignonPage.SignIn(String, SignOnRequestParameters)
Microsoft.IdentityServer.Protocols.Saml Namespace
IdpInitiatedSignOnPage Class Overview
Supported SAML Authentication Context Classes and Strengths

Return to top