Επεξεργασία

Κοινή χρήση μέσω


Saml2AuthenticationContext Class

Definition

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

public ref class Saml2AuthenticationContext
public class Saml2AuthenticationContext
type Saml2AuthenticationContext = class
Public Class Saml2AuthenticationContext
Inheritance
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 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.

Constructors

Saml2AuthenticationContext()

Initializes a new instance of the Saml2AuthenticationContext class.

Saml2AuthenticationContext(Uri, Uri)

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

Saml2AuthenticationContext(Uri)

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

Properties

AuthenticatingAuthorities

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]

ClassReference

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]

DeclarationReference

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

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to