AuthenticationContextClasses Class

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Defines URI constants for the SAML 2.0 Authentication Context Classes defined in the Authentication Context specification, [SAMLAuthnCxt].

Namespace: Microsoft.IdentityModel.Tokens.Saml2.Saml2Constants
Assembly: Microsoft.IdentityModel (in Microsoft.IdentityModel.dll)

Usage

'Usage

Syntax

'Declaration
Public NotInheritable Class AuthenticationContextClasses
public static class AuthenticationContextClasses
public ref class AuthenticationContextClasses abstract sealed
public final class AuthenticationContextClasses
public final class AuthenticationContextClasses

Remarks

These URIs can be used as the value of the AuthnContextClassRef element inside of a AuthnContext element. This element is represented by the ClassReference property. Each URI identifies the context class that provides additional information in an authentication assertion as defined in [SAMLAuthnCxt]. The name of each field refers to the friendly name of the context class represented by the URI defined by the field. For example, the AuthenticatedTelephony field defines a Uri that represents “urn:oasis:names:tc:SAML:2.0:ac:classes:AuthenticatedTelephony”, the InternetProtocol field defines a Uri that represents “urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol”, and so on. For more information, consult [SAMLAuthnCxt] and [Saml2Core, 2.7.2.2].

For more information about the constants defined in this class, see the SAML V2.0 Core specification and the SAML V2.0 Authentication Context specification. You can find links to these specifications and other WS-* specifications relevant to WIF in the Windows Identity Foundation SDK topic.

Inheritance Hierarchy

System.Object
  Microsoft.IdentityModel.Tokens.Saml2.Saml2Constants.AuthenticationContextClasses

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

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows Server 2008 R2, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2003 SP2 (32-bit or 64-bit), Not tested on Windows XP

See Also

Reference

AuthenticationContextClasses Members
Microsoft.IdentityModel.Tokens.Saml2.Saml2Constants Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.