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 | |
---|---|---|
RequestedAuthenticationContext() | Initializes a new instance of the RequestedAuthenticationContext class. |
Properties
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] |
Methods
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.) |
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