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].
Assembly: Microsoft.IdentityServer (in Microsoft.IdentityServer.dll)
| Name | Description | |
|---|---|---|
![]() | RequestedAuthenticationContext() | Initializes a new instance of the RequestedAuthenticationContext class. |
| Name | Description | |
|---|---|---|
![]() | Comparison | Gets or sets the comparison rule used by the responder to match the references. [SamlCore, 3.3.2.2.1] |
![]() | References | Gets a collection that contains an ordered list of URIs that reference acceptable authentication context classes. [SamlCore, 3.3.2.2.1] |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (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.


