SignOnRequestParameters.IsPassive Property


Gets or sets a value that specifies whether the sign-on request should be performed passively; that is, without noticeable interaction required by the user.

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


public bool IsPassive { get; set; }
property bool IsPassive {
    bool get();
    void set(bool value);
member IsPassive : bool with get, set
Public Property IsPassive As Boolean

Property Value

Type: System.Boolean

true if the request should be performed passively; otherwise, false. The default is false.


If the IsPassive property is true, Active Directory® Federation Services (AD FS) 2.0 will authenticate the user by using the session cookie previously established with the user, according to the authentication requirements imposed by the RequestedAuthenticationContext property. For more information, see IdpInitiatedSignOnPage Class Overview. If no session cookie exists, or if the session cookie has expired, authentication will fail.


The ForceAuthentication property and the IsPassive property are mutually exclusive. If one of these properties is set to true, the other should be false.

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

See Also

SignOnRequestParameters Class
Microsoft.IdentityServer.Web Namespace
IdpInitiatedSignOnPage Class Overview

Return to top