Επεξεργασία

Κοινή χρήση μέσω


SamlAuthenticationStatement Constructors

Definition

Initializes a new instance of the SamlAuthenticationStatement class.

Overloads

SamlAuthenticationStatement()

Initializes a new instance of the SamlAuthenticationStatement class.

SamlAuthenticationStatement(SamlSubject, String, DateTime, String, String, IEnumerable<SamlAuthorityBinding>)

Initializes a new instance of the SamlAuthenticationStatement class using the specified authentication details.

SamlAuthenticationStatement()

Initializes a new instance of the SamlAuthenticationStatement class.

public:
 SamlAuthenticationStatement();
public SamlAuthenticationStatement ();
Public Sub New ()

Applies to

SamlAuthenticationStatement(SamlSubject, String, DateTime, String, String, IEnumerable<SamlAuthorityBinding>)

Initializes a new instance of the SamlAuthenticationStatement class using the specified authentication details.

public:
 SamlAuthenticationStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::String ^ authenticationMethod, DateTime authenticationInstant, System::String ^ dnsAddress, System::String ^ ipAddress, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAuthorityBinding ^> ^ authorityBindings);
public SamlAuthenticationStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, string authenticationMethod, DateTime authenticationInstant, string dnsAddress, string ipAddress, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAuthorityBinding> authorityBindings);
new System.IdentityModel.Tokens.SamlAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * string * DateTime * string * string * seq<System.IdentityModel.Tokens.SamlAuthorityBinding> -> System.IdentityModel.Tokens.SamlAuthenticationStatement
Public Sub New (samlSubject As SamlSubject, authenticationMethod As String, authenticationInstant As DateTime, dnsAddress As String, ipAddress As String, authorityBindings As IEnumerable(Of SamlAuthorityBinding))

Parameters

samlSubject
SamlSubject

A SamlSubject that represents the subject of the claim.

authenticationMethod
String

A URI reference that specifies how the subject was authenticated.

authenticationInstant
DateTime

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

dnsAddress
String

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

ipAddress
String

The IP address of the computer that authenticated the subject.

authorityBindings
IEnumerable<SamlAuthorityBinding>

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

Exceptions

authorityBindings contains a member that is null.

Remarks

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

When the authenticationMethod parameter is null, the authentication method is set to urn:oasis:names:tc:SAML:1.0:am:unspecified.

Applies to