Saml2AuthenticationStatement Constructor (Saml2AuthenticationContext)

.NET Framework (current version)
 

Initializes a new instance of the Saml2AuthenticationStatement class with the specified authentication context and the current time as the authentication instant.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Saml2AuthenticationStatement(
	Saml2AuthenticationContext authenticationContext
)

Parameters

authenticationContext
Type: System.IdentityModel.Tokens.Saml2AuthenticationContext

The authentication context of this statement.

Exception Condition
ArgumentNullException

authenticationContext is null.

The AuthenticationInstant property is set to UtcNow.

.NET Framework
Available since 4.5
Return to top
Show: