Język

SamlAuthenticationStatement Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy SamlAuthenticationStatement.

Przeciążenia

Nazwa Opis
SamlAuthenticationStatement()

Inicjuje nowe wystąpienie klasy SamlAuthenticationStatement.

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

Inicjuje nowe wystąpienie SamlAuthenticationStatement klasy przy użyciu określonych szczegółów uwierzytelniania.

SamlAuthenticationStatement()

Inicjuje nowe wystąpienie klasy SamlAuthenticationStatement.

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

Dotyczy

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

Inicjuje nowe wystąpienie SamlAuthenticationStatement klasy przy użyciu określonych szczegółów uwierzytelniania.

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

Parametry

samlSubject
SamlSubject

Element SamlSubject reprezentujący przedmiot roszczenia.

authenticationMethod
String

Odwołanie do identyfikatora URI określające sposób uwierzytelniania podmiotu.

authenticationInstant
DateTime

Element DateTime określający moment, w którym podmiot został uwierzytelniony.

dnsAddress
String

Nazwa domeny DNS, w której znajduje się komputer, który uwierzytelnił podmiot.

ipAddress
String

Adres IP komputera, który uwierzytelnił podmiot.

authorityBindings
IEnumerable<SamlAuthorityBinding>

IEnumerable<T> Typ SamlAuthorityBinding zawierający dodatkowe informacje o temacie.

Wyjątki

authorityBindings zawiera element członkowski o identyfikatorze null.

Uwagi

Zestaw metod uwierzytelniania jest rozszerzalny; jednak poniższa tabela zawiera zestaw metod uwierzytelniania zdefiniowanych w specyfikacji SAML.

Metoda uwierzytelniania URI
Hasło urn:oasis:names:tc:SAML:1.0:am:password
Kerberos urn:ietf:rfc:1510
Zabezpieczanie hasła zdalnego (SRP) urn:ietf:rfc:2945
Token sprzętowy URI:urn:oasis:names:tc:SAML:1.0:am:HardwareToken
Uwierzytelnianie klienta oparte na certyfikatach SSL/TLS urn:ietf:rfc:2246
Klucz publiczny PGP urn:oasis:names:tc:SAML:1.0:am:PGP
Klucz publiczny infrastruktury SPKI urn:oasis:names:tc:SAML:1.0:am:SPKI
Klucz publiczny XKMS urn:oasis:names:tc:SAML:1.0:am:XKMS
Podpis cyfrowy XML urn:ietf:rfc:3075
Nieokreślony urn:oasis:names:tc:SAML:1.0:am:unspecified

Gdy authenticationMethod parametr ma nullwartość , metoda uwierzytelniania jest ustawiona na urn:oasis:names:tc:SAML:1.0:am:unspecifiedwartość .

Dotyczy