AuthenticationSchemes Enumeration
Specifies protocols for authentication.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| Anonymous | Specifies anonymous authentication. | |
| Basic | Specifies basic authentication. | |
| Digest | Specifies digest authentication. | |
| IntegratedWindowsAuthentication | Specifies Windows authentication. | |
| Negotiate | Negotiates with the client to determine the authentication scheme. If both client and server support Kerberos, it is used; otherwise, NTLM is used. | |
| None | No authentication is allowed. A client requesting an HttpListener object with this flag set will always receive a 403 Forbidden status. Use this flag when a resource should never be served to a client. | |
| Ntlm | Specifies NTLM authentication. |
This enumeration is used to specify the method used to authenticate client requests being processed by HttpListener objects.
Note Basic authentication requires the exchange of a password and should therefore be avoided except in the case of secure, encrypted connections.
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.1
Windows Phone
Available since 8.1