HttpTransportElement.AuthenticationScheme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the authentication scheme used to authenticate client requests being processed by an HTTP listener.
public:
property System::Net::AuthenticationSchemes AuthenticationScheme { System::Net::AuthenticationSchemes get(); void set(System::Net::AuthenticationSchemes value); };
[System.Configuration.ConfigurationProperty("authenticationScheme", DefaultValue=System.Net.AuthenticationSchemes.Anonymous)]
public System.Net.AuthenticationSchemes AuthenticationScheme { get; set; }
[<System.Configuration.ConfigurationProperty("authenticationScheme", DefaultValue=System.Net.AuthenticationSchemes.Anonymous)>]
member this.AuthenticationScheme : System.Net.AuthenticationSchemes with get, set
Public Property AuthenticationScheme As AuthenticationSchemes
Property Value
The AuthenticationSchemes object that specifies the protocols used for client authentication. The default is Anonymous.
- Attributes
Remarks
The authentication scheme can only be set once.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.