SignOnRequestParameters.RequestedAuthenticationContext Property

 

Gets or sets the request authentication context.

Namespace:   Microsoft.IdentityServer.Web
Assembly:  Microsoft.IdentityServer (in Microsoft.IdentityServer.dll)

Syntax

public RequestedAuthenticationContext RequestedAuthenticationContext { get; set; }
public:
property RequestedAuthenticationContext^ RequestedAuthenticationContext {
    RequestedAuthenticationContext^ get();
    void set(RequestedAuthenticationContext^ value);
}
member RequestedAuthenticationContext : RequestedAuthenticationContext with get, set
Public Property RequestedAuthenticationContext As RequestedAuthenticationContext

Property Value

Type: Microsoft.IdentityServer.Protocols.Saml.RequestedAuthenticationContext

A RequestedAuthenticationContext object that contains one or more authentication context classes and a comparison rule for the request. The default is null.

Remarks

If specified, this property contains the requested authentication context for the request. The requested authentication context contains SAML authentication context classes and a comparison rule that together specify how the user should be authenticated. Depending on the value of the IsPassive property, and the ForceAuthentication property, AD FS 2.0 evaluates the session cookie, the configured authentication handlers, or both to determine whether and how the user should be authenticated. For more information see, IdpInitiatedSignOnPage Class Overview.

The default implementation of the AD FS 2.0 Sign-In Pages does not contain support for specifying the RequestedAuthenticationContext property; however, you can modify IdpInitiatedSignOn.aspx, IdpInitiatedSignOn.aspx.cs, or both to provide this functionality through a query string parameter or through UI elements. For more information, including code samples, see IdpInitiatedSignOnPage Class Overview.

See Also

RequestedAuthenticationContext
SignOnRequestParameters Class
Microsoft.IdentityServer.Web Namespace
IdpInitiatedSignOnPage Class Overview

Return to top