SamlAuthenticationStatement Class

 

Represents a claim for a SamlSecurityToken security token that asserts that the subject was authenticated by a particular means at a particular time.

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

System::Object
  System.IdentityModel.Tokens::SamlStatement
    System.IdentityModel.Tokens::SamlSubjectStatement
      System.IdentityModel.Tokens::SamlAuthenticationStatement

public ref class SamlAuthenticationStatement : SamlSubjectStatement

NameDescription
System_CAPS_pubmethodSamlAuthenticationStatement()

Initializes a new instance of the SamlAuthenticationStatement class.

System_CAPS_pubmethodSamlAuthenticationStatement(SamlSubject^, String^, DateTime, String^, String^, IEnumerable<SamlAuthorityBinding^>^)

Initializes a new instance of the SamlAuthenticationStatement class using the specified authentication details.

NameDescription
System_CAPS_pubpropertyAuthenticationInstant

Gets or sets the instant in time at which the subject was authenticated.

System_CAPS_pubpropertyAuthenticationMethod

Gets or sets the method used to authenticate the subject.

System_CAPS_pubpropertyAuthorityBindings

Gets additional information about the subject.

System_CAPS_pubpropertySystem_CAPS_staticClaimType

Gets the type of security claim.

System_CAPS_pubpropertyDnsAddress

Gets or sets the DNS domain name in which the computer that authenticated the subject resides.

System_CAPS_pubpropertyIPAddress

Gets or sets the IP address of the computer that authenticated the subject.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the properties of this instance are read-only.(Overrides SamlSubjectStatement::IsReadOnly.)

System_CAPS_pubpropertySamlSubject

Gets or sets the subject of a SamlSecurityToken security token.(Inherited from SamlSubjectStatement.)

NameDescription
System_CAPS_protmethodAddClaimsToList(IList<Claim^>^)

Adds a claim based on the properties of this instance to the specified collection of claims.(Overrides SamlSubjectStatement::AddClaimsToList(IList<Claim^>^).)

System_CAPS_pubmethodCreatePolicy(ClaimSet^, SamlSecurityTokenAuthenticator^)

Creates an authorization policy for a SamlSecurityToken security token.(Inherited from SamlSubjectStatement.)

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 SamlSubjectStatement::MakeReadOnly().)

System_CAPS_protmethodMemberwiseClone()

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

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

Reads the SAML authentication statement from the specified XML reader.(Overrides SamlStatement::ReadXml(XmlDictionaryReader^, SamlSerializer^, SecurityTokenSerializer^, SecurityTokenResolver^).)

System_CAPS_protmethodSetSubject(SamlSubject^)

Sets the subject of a SamlSecurityToken security token.(Inherited from SamlSubjectStatement.)

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodWriteXml(XmlDictionaryWriter^, SamlSerializer^, SecurityTokenSerializer^)

Writes the SAML authentication statement into the specified XML serializer.(Overrides SamlStatement::WriteXml(XmlDictionaryWriter^, SamlSerializer^, SecurityTokenSerializer^).)

SamlSecurityToken security tokens specify their claims using SAML assertions, which can specify when the subject was authenticated. 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 SamlAuthenticationStatement. A SamlAuthenticationStatement asserts that the statement's subject was authenticated by a particular means at a particular time.

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