Represents the subject of a SAML security token.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Thetype exposes the following members.
|SamlSubject()||Initializes a new instance of the class.|
|SamlSubject(String, String, String)||Initializes a new instance of the class using the specified name, the domain in which the name resides, and the format the name is in.|
|SamlSubject(String, String, String, IEnumerable<String>, String, SecurityKeyIdentifier)||Initializes a new instance of the 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.|
|ConfirmationMethods||Gets a set of URI references that identify the protocols that should be used to authenticate the subject.|
|Crypto||Gets or sets the cryptographic key that is used to verify the digital signature that is identified by this SAML subject statement.|
|IsReadOnly||Gets a value that indicates whether the properties of this instance are read-only.|
|KeyIdentifier||Gets or sets a key identifier that provides access to a cryptographic key held by the subject of the SAML security token.|
|Name||Gets or sets the subject name of a SAML security token.|
|NameClaimType||Gets the claim type that is used to represent the subject name of a SAML security token.|
|NameFormat||Gets or sets a URI reference that represents the format that the subject name of a SAML security token is in.|
|NameQualifier||Gets or sets the domain in which the subject name of a SAML security token resides in.|
|SubjectConfirmationData||Gets or sets additional authentication information that can be used by authentication protocols.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|ExtractClaims||Gets a set of claims using the properties of this class.|
|ExtractSubjectKeyClaimSet||Gets a set of claims using the properties of this class and the specified SAML security token authenticator.|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MakeReadOnly||Causes this instance to be read-only.|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ReadXml||Reads the <saml:Subject> element from the specified XML reader.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|WriteXml||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 class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.