ערוך

שתף באמצעות


SamlAuthenticationClaimResource Class

Definition

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

public ref class SamlAuthenticationClaimResource
[System.Runtime.Serialization.DataContract]
public class SamlAuthenticationClaimResource
[<System.Runtime.Serialization.DataContract>]
type SamlAuthenticationClaimResource = class
Public Class SamlAuthenticationClaimResource
Inheritance
SamlAuthenticationClaimResource
Attributes

Remarks

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.

Constructors

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

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

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

Properties

AuthenticationInstant

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

AuthenticationMethod

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

AuthorityBindings

Gets additional information about the subject.

DnsAddress

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

IPAddress

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

Methods

Equals(Object)

Returns a value that indicates whether the instance is equal to the specified object.

GetHashCode()

Returns the hash code for the SamlAuthenticationClaimResource.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also