Share via


SamlSubject Class

Definition

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

public class SamlSubject
type SamlSubject = class
Public Class SamlSubject
Inheritance
SamlSubject

Remarks

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

Constructors

SamlSubject()

Initialize an instance of SamlSubject.

SamlSubject(String, String, String)

Initialize an instance of SamlSubject.

SamlSubject(String, String, String, IEnumerable<String>, String)

Initialize an instance of SamlSubject.

Properties

ConfirmationData

Gets or sets confirmation data.

ConfirmationMethods

Gets confirmation methods.

Key

Gets or sets the SecurityKey.

KeyInfo

Gets or sets theKeyInfo.

Name

Gets or sets the name of the Subject.

NameClaimType

Gets the ClaimType.

NameFormat

Gets or sets the format of the Subject.

NameQualifier

Gets or sets the name qualifier of the Subject.

Applies to