SamlSubjectStatement Class

 

Represents a claim for a SamlSecurityToken security token.

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


public abstract class SamlSubjectStatement : SamlStatement

NameDescription
System_CAPS_protmethodSamlSubjectStatement()

Initializes a new instance of the SamlSubjectStatement class.

System_CAPS_protmethodSamlSubjectStatement(SamlSubject)

Initializes a new instance of the SamlSubjectStatement class using the specified subject.

NameDescription
System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the properties of this instance are read-only.(Overrides SamlStatement.IsReadOnly.)

System_CAPS_pubpropertySamlSubject

Gets or sets the subject of a SamlSecurityToken security token.

NameDescription
System_CAPS_protmethodAddClaimsToList(IList<Claim>)

Adds a claim based on the properties of this instance to the specified collection of claims.

System_CAPS_pubmethodCreatePolicy(ClaimSet, SamlSecurityTokenAuthenticator)

Creates an authorization policy for a SamlSecurityToken security token.(Overrides SamlStatement.CreatePolicy(ClaimSet, SamlSecurityTokenAuthenticator).)

System_CAPS_pubmethodEquals(Object)

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

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.(Overrides SamlStatement.MakeReadOnly().)

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver)

When overridden in a derived class, reads the SAML statement from the specified XML reader.(Inherited from SamlStatement.)

System_CAPS_protmethodSetSubject(SamlSubject)

Sets the subject of a SamlSecurityToken security token.

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodWriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer)

Writes the SAML statement into the specified XML serializer.(Inherited from SamlStatement.)

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 in the SamlSubject property.

.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: