SamlAuthenticationClaimResource Class

Represents the resource type for a claim that is created from a SamlAuthenticationStatement.

System.Object
  System.IdentityModel.Tokens.SamlAuthenticationClaimResource

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

[DataContractAttribute]
public class SamlAuthenticationClaimResource

The SamlAuthenticationClaimResource type exposes the following members.

  NameDescription
Public methodSamlAuthenticationClaimResource(DateTime, String, String, String)Initializes a new instance of the SamlAuthenticationClaimResource class using the specified instant in time, authentication method, DNS domain name, and IP address.
Public methodSamlAuthenticationClaimResource(DateTime, String, String, String, IEnumerable<SamlAuthorityBinding>)Initializes a new instance of the SamlAuthenticationClaimResource class using the specified instant in time, authentication method, DNS domain name, IP address, and reference to additional information.
Public methodSamlAuthenticationClaimResource(DateTime, String, String, String, ReadOnlyCollection<SamlAuthorityBinding>)Initializes a new instance of the SamlAuthenticationClaimResource class using the specified instant in time, authentication method, DNS domain name, IP address, and reference to additional information.
Top

  NameDescription
Public propertyAuthenticationInstantGets the instant in time at which the subject was authenticated.
Public propertyAuthenticationMethodGets or sets the method that was used to authenticate the subject.
Public propertyAuthorityBindingsGets additional information about the subject.
Public propertyDnsAddressGets 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.
Top

  NameDescription
Public methodEqualsReturns a value that indicates whether the instance is equal to the specified object. (Overrides Object.Equals(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 methodGetHashCodeReturns the hash code for the SamlAuthenticationClaimResource. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Use the SamlAuthenticationClaimResource class to create a Claim instance for a SamlSecurityToken authentication claim. The Claim class has a constructor that takes a resource, which this class can be passed to.

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 is authenticated by a particular means at a particular time. The SamlAuthenticationClaimResource class represents a claim resource for the SamlAuthenticationStatement.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft