Ask Learn
		
	
					Preview
					Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Specifies protocols for authentication.
This enumeration supports a bitwise combination of its member values.
public enum class AuthenticationSchemes[System.Flags]
public enum AuthenticationSchemes[<System.Flags>]
type AuthenticationSchemes = Public Enum AuthenticationSchemes| Name | Value | Description | 
|---|---|---|
| None | 0 | No authentication is enabled. This should only be used when HttpSysOptions.Authentication.AllowAnonymous is enabled (see AllowAnonymous). | 
| Basic | 1 | Specifies basic authentication. | 
| NTLM | 4 | Specifies NTLM authentication. | 
| Negotiate | 8 | Negotiates with the client to determine the authentication scheme. If both client and server support Kerberos, it is used; otherwise, NTLM is used. | 
| Kerberos | 16 | Specifies Kerberos authentication. | 
| Product | Versions | 
|---|---|
| ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0 | 
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in