Saml2AuthenticationStatement.AuthenticationContext Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the context used by the authenticating authority up to and including the authentication event that yielded this statement. [Saml2Core, 2.7.2]

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

public Saml2AuthenticationContext AuthenticationContext { get; set; }

Exception Condition

An attempt to set a value that is null occurs.

The AuthnContext element. This element is required.

.NET Framework
Available since 4.5
Return to top