Represents the AuthnContext element specified in [Saml2Core, 2.7.2.2].
Namespace: Microsoft.IdentityModel.Tokens.Saml2
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As Saml2AuthenticationContext

Syntax

Visual Basic
Public Class Saml2AuthenticationContext
C#
public class Saml2AuthenticationContext
C++
public ref class Saml2AuthenticationContext
J#
public class Saml2AuthenticationContext
JScript
public class Saml2AuthenticationContext

Remarks

This base class does not directly support any by-value authentication context declarations (represented in XML by the AuthnContextDecl element). To support by-value declarations, extend this class to support the data model and extend Saml2AssertionSerializer, overriding ReadAuthnContext and WriteAuthnContext to read and write the by-value declaration.


Inheritance Hierarchy

System.Object
  Microsoft.IdentityModel.Tokens.Saml2.Saml2AuthenticationContext

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.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also