AuthenticationType Property

SignInRequestMessage.AuthenticationType Property

.NET Framework (current version)
 

Gets or sets the wauth parameter of the message.

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

public string AuthenticationType { get; set; }

Property Value

Type: System.String

The authentication type. This is specified as a URI.

Exception Condition
ArgumentException

An attempt to set a value that is not a valid, absolute URI occurs.

The wauth parameter is like the wst:AuthenticationType element defined in WS-Trust. The value should be set to a string that contains a URI that identifies the type of authentication that is used.

The wauth parameter is optional. Set the AuthenticationType property to null or an empty string to remove the wauth parameter from the message.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft