SamlAuthenticationClaimResource.AuthenticationMethod Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public string AuthenticationMethod { get; }

Property Value

Type: System.String

The method that was used to authenticate the subject.

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

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.

.NET Framework
Available since 3.0
Return to top
Show: