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

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

public SamlAuthenticationClaimResource(
	DateTime authenticationInstant,
	string authenticationMethod,
	string dnsAddress,
	string ipAddress,
	IEnumerable<SamlAuthorityBinding> authorityBindings
)

Parameters

authenticationInstant
Type: System.DateTime

A DateTime that specifies the instant in time at which the subject was authenticated.

authenticationMethod
Type: System.String

A URI reference that specifies how the subject was authenticated.

dnsAddress
Type: System.String

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

ipAddress
Type: System.String

The IP address of the computer that authenticated the subject.

authorityBindings
Type: System.Collections.Generic.IEnumerable<SamlAuthorityBinding>

An IEnumerable<T> of type SamlAuthorityBinding that contains additional information about the subject.

Exception Condition
ArgumentException

authorityBindings contains a member that is null.

The set of authentication methods is extensible; however the following table contains the set of authentication methods defined in the SAML specification.

Authentication method

URI

Password

urn:oasis:names:tc:SAML:1.0:am:password

Kerberos

urn:ietf:rfc:1510

Secure Remote Password (SRP)

urn:ietf:rfc:2945

Hardware Token

URI:urn:oasis:names:tc:SAML:1.0:am:HardwareToken

SSL/TLS Certificate Based Client Authentication

urn:ietf:rfc:2246

PGP Public Key

urn:oasis:names:tc:SAML:1.0:am:PGP

SPKI Public Key

urn:oasis:names:tc:SAML:1.0:am:SPKI

XKMS Public Key

urn:oasis:names:tc:SAML:1.0:am:XKMS

XML Digital Signature

urn:ietf:rfc:3075

Unspecified

urn:oasis:names:tc:SAML:1.0:am:unspecified

.NET Framework
Available since 3.0
Return to top
Show: