AuthenticationSchemes Enumeration
Specifies protocols for authentication.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Net
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
![]() | 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. |
![]() | Digest | Specifies digest authentication. For additional information, see RFC2617 – HTTP Authentication: Basic and Digest Authentication. This document is available at http://www.rfc-editor.org |
![]() | Negotiate | Negotiates with the client to determine the authentication scheme. If both client and server support Kerberos, it is used; otherwise, NTLM is used. |
![]() | Ntlm | Specifies NTLM authentication. |
![]() | Basic | Specifies basic authentication. For additional information, see RFC2617 – HTTP Authentication: Basic and Digest Authentication. This document is available at http://www.rfc-editor.org. |
![]() | Anonymous | Specifies anonymous authentication. |
![]() | IntegratedWindowsAuthentication | Specifies Windows 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.png?cs-save-lang=1&cs-lang=cpp)