Udostępnij za pośrednictwem


Saml2Subject Class

Definition

Represents the Subject element specified in [Saml2Core, 2.4.1]. see: http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf

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

Remarks

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

Constructors

Saml2Subject(Saml2NameIdentifier)

Initializes an instance of Saml2Subject from a Saml2NameIdentifier.

Saml2Subject(Saml2SubjectConfirmation)

Initializes an instance of Saml2Subject from a Saml2SubjectConfirmation.

Properties

NameId

Gets or sets the Saml2NameIdentifier. [Saml2Core, 2.4.1]

SubjectConfirmations

Gets a collection of Saml2SubjectConfirmation which can be used to validate and confirm the Saml2Subject. [Saml2Core, 2.4.1]

Applies to