Saml2Subject Class

Definition

Represents the Subject element specified in [Saml2Core, 2.4.1].

public ref class Saml2Subject
public class Saml2Subject
type Saml2Subject = class
Public Class Saml2Subject
Inheritance
Saml2Subject

Remarks

If the NameId property is null and the SubjectConfirmations collection is empty, an InvalidOperationException will be thrown during serialization.

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

Constructors

Saml2Subject()

Initializes a new instance of the Saml2Subject class.

Saml2Subject(Saml2NameIdentifier)

Initializes a new instance of the Saml2Subject class with the specified Saml2NameIdentifier object.

Saml2Subject(Saml2SubjectConfirmation)

Initializes a new instance of the Saml2Subject class with the specified Saml2SubjectConfirmation object.

Properties

NameId

Gets or sets the identifier for the subject. [Saml2Core, 2.4.1]

SubjectConfirmations

Gets a collection that contains information that allows the subject to be confirmed. [Saml2Core, 2.4.1]

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