SamlAuthenticationClaimResource Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

System.Object
  System.IdentityModel.Tokens.SamlAuthenticationClaimResource

[DataContractAttribute]
public class SamlAuthenticationClaimResource

NameDescription
System_CAPS_pubmethodSamlAuthenticationClaimResource(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.

System_CAPS_pubmethodSamlAuthenticationClaimResource(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.

System_CAPS_pubmethodSamlAuthenticationClaimResource(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.

NameDescription
System_CAPS_pubpropertyAuthenticationInstant

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

System_CAPS_pubpropertyAuthenticationMethod

Gets or sets the method that was used to authenticate the subject.

System_CAPS_pubpropertyAuthorityBindings

Gets additional information about the subject.

System_CAPS_pubpropertyDnsAddress

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether the instance is equal to the specified object.(Overrides Object.Equals(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()

Returns the hash code for the SamlAuthenticationClaimResource.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodToString()

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

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