SamlAuthenticationStatement.AuthenticationMethod Property

Definition

Gets or sets the method used to authenticate the subject.

C#
public string AuthenticationMethod { get; set; }

Property Value

The method used to authenticate the subject. The default value is urn:oasis:names:tc:SAML:1.0:am:unspecified.

Exceptions

The AuthenticationMethod property is set and the IsReadOnly property is true.

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 property is set to null, the authentication method is set to urn:oasis:names:tc:SAML:1.0:am:unspecified.

The AuthenticationMethod property corresponds to the AuthenticationMethod attribute of the <AuthenticationStatement> element that is defined in the Assertions and Protocol for the OASIS Security Assertion Markup Language (SAML) specification.

Applies to

Produkt Versiounen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1