Saml2AuthenticationContext Class
TOC
Collapse the table of content
Expand the table of content

Saml2AuthenticationContext Class

.NET Framework (current version)
 

Represents the AuthnContext element specified in [Saml2Core, 2.7.2.2].

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

System.Object
  System.IdentityModel.Tokens.Saml2AuthenticationContext

Public Class Saml2AuthenticationContext

NameDescription
System_CAPS_pubmethodSaml2AuthenticationContext()

Initializes a new instance of the Saml2AuthenticationContext class.

System_CAPS_pubmethodSaml2AuthenticationContext(Uri)

Initializes a new instance of the Saml2AuthenticationContext class with the specified class reference.

System_CAPS_pubmethodSaml2AuthenticationContext(Uri, Uri)

Initializes a new instance of the Saml2AuthenticationContext class with the specified class reference and declaration reference.

NameDescription
System_CAPS_pubpropertyAuthenticatingAuthorities

Gets a collection of zero or more unique identifiers (URIs) of authentication authorities that were involved in the authentication of the principal (not including the assertion issuer, who is presumed to have been involved without being explicitly included in the collection). [Saml2Core, 2.7.2.2]

System_CAPS_pubpropertyClassReference

Gets or sets the URI reference that identifies an authentication context class that describes the authentication context declaration that follows. [Saml2Core, 2.7.2.2]

System_CAPS_pubpropertyDeclarationReference

Gets or sets a URI reference that identifies an authentication context declaration. [Saml2Core, 2.7.2.2]

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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 the Saml2SecurityTokenHandler class, overriding the ReadAuthenticationContext and WriteAuthenticationContext methods to read and write the by-value declaration.

For more information about the element that this class represents, see the SAML V2.0 Core specification.

.NET Framework
Available since 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft