SamlSubject Class

 

Represents the subject of a SAML security token.

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

System::Object
  System.IdentityModel.Tokens::SamlSubject

public ref class SamlSubject 

NameDescription
System_CAPS_pubmethodSamlSubject()

Initializes a new instance of the SamlSubject class.

System_CAPS_pubmethodSamlSubject(String^, String^, String^)

Initializes a new instance of the SamlSubject class using the specified name, the domain in which the name resides, and the format the name is in.

System_CAPS_pubmethodSamlSubject(String^, String^, String^, IEnumerable<String^>^, String^, SecurityKeyIdentifier^)

Initializes a new instance of the SamlSubject class using the specified name, the domain in which the name resides, the format the name is in, authentication protocols, additional authentication information, and a key identifier.

NameDescription
System_CAPS_pubpropertyConfirmationMethods

Gets a set of URI references that identify the protocols that should be used to authenticate the subject.

System_CAPS_pubpropertyCrypto

Gets or sets the cryptographic key that is used to verify the digital signature that is identified by this SAML subject statement.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the properties of this instance are read-only.

System_CAPS_pubpropertyKeyIdentifier

Gets or sets a key identifier that provides access to a cryptographic key held by the subject of the SAML security token.

System_CAPS_pubpropertyName

Gets or sets the subject name of a SAML security token.

System_CAPS_pubpropertySystem_CAPS_staticNameClaimType

Gets the claim type that is used to represent the subject name of a SAML security token.

System_CAPS_pubpropertyNameFormat

Gets or sets a URI reference that represents the format that the subject name of a SAML security token is in.

System_CAPS_pubpropertyNameQualifier

Gets or sets the domain in which the subject name of a SAML security token resides in.

System_CAPS_pubpropertySubjectConfirmationData

Gets or sets additional authentication information that can be used by authentication protocols.

NameDescription
System_CAPS_pubmethodEquals(Object^)

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

System_CAPS_pubmethodExtractClaims()

Gets a set of claims using the properties of this class.

System_CAPS_pubmethodExtractSubjectKeyClaimSet(SamlSecurityTokenAuthenticator^)

Gets a set of claims using the properties of this class and the specified SAML security token authenticator.

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_pubmethodMakeReadOnly()

Causes this instance to be read-only.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodReadXml(XmlDictionaryReader^, SamlSerializer^, SecurityTokenSerializer^, SecurityTokenResolver^)

Reads the <saml:Subject> element from the specified XML reader.

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodWriteXml(XmlDictionaryWriter^, SamlSerializer^, SecurityTokenSerializer^)

Writes the <saml:Subject> element into the specified XML serializer.

SamlSecurityToken security tokens specify their claims using SAML assertions, which can specify the subject of the security token. The claims in a SAML assertion are represented by SAML statements. The SAML specification defines a set of SAML statement types and one of them is a SamlSubjectStatement. A SamlSubjectStatement asserts the principal that is the subject of the SamlSecurityToken security token. This principal is specified using a SamlSubject class.

.NET Framework
Available since 3.0

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: