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)

public class SamlAuthenticationStatement : SamlSubjectStatement

The SamlAuthenticationStatement type exposes the following members.

  NameDescription
Public methodSamlAuthenticationStatement()Initializes a new instance of the SamlAuthenticationStatement class.
Public methodSamlAuthenticationStatement(SamlSubject, String, DateTime, String, String, IEnumerable<SamlAuthorityBinding>)Initializes a new instance of the SamlAuthenticationStatement class using the specified authentication details.
Top

  NameDescription
Public propertyAuthenticationInstantGets or sets the instant in time at which the subject was authenticated.
Public propertyAuthenticationMethodGets or sets the method used to authenticate the subject.
Public propertyAuthorityBindingsGets additional information about the subject.
Public propertyStatic memberClaimTypeGets the type of security claim.
Public propertyDnsAddressGets or sets the DNS domain name in which the computer that authenticated the subject resides.
Public propertyIPAddressGets or sets the IP address of the computer that authenticated the subject.
Public propertyIsReadOnlyGets a value that indicates whether the properties of this instance are read-only. (Overrides SamlSubjectStatement.IsReadOnly.)
Public propertySamlSubjectGets or sets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement.)
Top

  NameDescription
Protected methodAddClaimsToListAdds a claim based on the properties of this instance to the specified collection of claims. (Overrides SamlSubjectStatement.AddClaimsToList(IList<Claim>).)
Public methodCreatePolicyCreates an authorization policy for a SamlSecurityToken security token. (Inherited from SamlSubjectStatement.)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMakeReadOnlyCauses this instance to be read-only. (Overrides SamlSubjectStatement.MakeReadOnly().)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadXmlReads the SAML authentication statement from the specified XML reader. (Overrides SamlStatement.ReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver).)
Protected methodSetSubjectSets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteXmlWrites the SAML authentication statement into the specified XML serializer. (Overrides SamlStatement.WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer).)
Top

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft