MSDN Library

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,].

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

Dim instance As RequestedAuthenticationContext

public class RequestedAuthenticationContext
public class RequestedAuthenticationContext
public class RequestedAuthenticationContext

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 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.

Development Platforms

Windows Server 2008, Windows Server 2008 R2

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows Server 2008 R2

Community Additions

© 2015 Microsoft