Microsoft.AspNetCore.Authentication.Negotiate 10.0.0
About
Microsoft.AspNetCore.Authentication.Negotiate contains an authentication handler used to authenticate requests using Windows Authentication (also known as Negotiate, Kerberos, or NTLM).
How to Use
To use Microsoft.AspNetCore.Authentication.Negotiate, follow these steps:
Installation
dotnet add package Microsoft.AspNetCore.Authentication.Negotiate
Configuration
To use the middleware, configure it in your ASP.NET Core app's Program.cs:
builder.Services.AddAuthentication(NegotiateDefaults.AuthenticationScheme)
.AddNegotiate();
builder.Services.AddAuthorization();
var app = builder.Build();
Next, refer to the [official documentation](https://learn.microsoft.com/aspnet/core/security/authentication/windowsauth) for configuration details specific to your app's web server.
## Main Types
The main types provided by this package are:
* `NegotiateOptions`: Represents the options for configuring Negotiate Authentication handler behavior
* `NegotiateHandler`: The authentication handler responsible for processing Negotiate authentication requests and generating the appropriate authentication ticket
## Additional Documentation
For additional documentation and examples, refer to the [official documentation](https://learn.microsoft.com/aspnet/core/security/authentication/windowsauth) on Windows Authentication in ASP.NET Core.
## Feedback & Contributing
`Microsoft.AspNetCore.Authentication.Negotiate` is released as open-source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/aspnetcore).
No packages depend on Microsoft.AspNetCore.Authentication.Negotiate.
.NET 10.0
- Microsoft.AspNetCore.Connections.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Caching.Memory (>= 10.0.0)
- System.DirectoryServices.Protocols (>= 10.0.0)
| Version | Downloads | Last updated |
|---|---|---|
| 10.0.0 | 3 | 11/17/2025 |
| 10.0.0-rc.2.25502.107 | 4 | 10/22/2025 |
| 10.0.0-rc.1.25451.107 | 7 | 09/15/2025 |
| 10.0.0-preview.7.25380.108 | 7 | 08/15/2025 |
| 10.0.0-preview.6.25358.103 | 8 | 07/17/2025 |
| 10.0.0-preview.5.25277.114 | 10 | 06/08/2025 |
| 10.0.0-preview.4.25258.110 | 13 | 05/15/2025 |
| 10.0.0-preview.3.25172.1 | 13 | 04/19/2025 |
| 10.0.0-preview.2.25164.1 | 14 | 03/28/2025 |
| 10.0.0-preview.1.25120.3 | 12 | 03/12/2025 |
| 9.0.11 | 2 | 11/19/2025 |
| 9.0.10 | 4 | 10/16/2025 |
| 9.0.9 | 8 | 09/12/2025 |
| 9.0.8 | 7 | 08/07/2025 |
| 9.0.7 | 10 | 07/11/2025 |
| 9.0.6 | 10 | 06/12/2025 |
| 9.0.5 | 10 | 05/16/2025 |
| 9.0.4 | 15 | 04/25/2025 |
| 9.0.3 | 15 | 03/12/2025 |
| 9.0.2 | 13 | 03/21/2025 |
| 9.0.1 | 18 | 01/31/2025 |
| 9.0.0 | 24 | 11/18/2024 |
| 9.0.0-rc.2.24474.3 | 21 | 11/10/2024 |
| 9.0.0-rc.1.24452.1 | 18 | 01/01/2025 |
| 9.0.0-preview.7.24406.2 | 21 | 11/17/2024 |
| 9.0.0-preview.6.24328.4 | 22 | 11/20/2024 |
| 9.0.0-preview.5.24306.11 | 21 | 11/12/2024 |
| 9.0.0-preview.4.24267.6 | 30 | 05/29/2024 |
| 9.0.0-preview.3.24172.13 | 24 | 05/03/2024 |
| 9.0.0-preview.2.24128.4 | 28 | 05/30/2024 |
| 9.0.0-preview.1.24081.5 | 24 | 06/02/2024 |
| 8.0.22 | 2 | 11/19/2025 |
| 8.0.21 | 4 | 10/16/2025 |
| 8.0.20 | 7 | 09/12/2025 |
| 8.0.19 | 8 | 08/07/2025 |
| 8.0.18 | 7 | 07/10/2025 |
| 8.0.17 | 8 | 06/12/2025 |
| 8.0.16 | 13 | 05/16/2025 |
| 8.0.15 | 12 | 04/25/2025 |
| 8.0.14 | 14 | 03/12/2025 |
| 8.0.13 | 14 | 02/19/2025 |
| 8.0.12 | 17 | 01/31/2025 |
| 8.0.11 | 21 | 11/14/2024 |
| 8.0.10 | 20 | 11/14/2024 |
| 8.0.8 | 19 | 01/01/2025 |
| 8.0.7 | 22 | 11/26/2024 |
| 8.0.6 | 23 | 11/13/2024 |
| 8.0.5 | 26 | 06/02/2024 |
| 8.0.4 | 23 | 06/02/2024 |
| 8.0.3 | 23 | 06/02/2024 |
| 8.0.2 | 29 | 05/12/2024 |
| 8.0.1 | 27 | 06/02/2024 |
| 8.0.0 | 28 | 06/02/2024 |
| 8.0.0-rc.2.23480.2 | 23 | 06/02/2024 |
| 8.0.0-rc.1.23421.29 | 21 | 06/02/2024 |
| 8.0.0-preview.7.23375.9 | 27 | 06/02/2024 |
| 8.0.0-preview.6.23329.11 | 28 | 05/11/2024 |
| 8.0.0-preview.5.23302.2 | 24 | 06/02/2024 |
| 8.0.0-preview.4.23260.4 | 29 | 06/02/2024 |
| 8.0.0-preview.3.23177.8 | 23 | 05/30/2024 |
| 8.0.0-preview.2.23153.2 | 27 | 06/02/2024 |
| 8.0.0-preview.1.23112.2 | 24 | 06/02/2024 |
| 7.0.20 | 23 | 11/12/2024 |
| 7.0.19 | 25 | 06/02/2024 |
| 7.0.18 | 28 | 06/02/2024 |
| 7.0.17 | 31 | 06/02/2024 |
| 7.0.16 | 22 | 06/02/2024 |
| 7.0.15 | 31 | 06/02/2024 |
| 7.0.14 | 29 | 06/02/2024 |
| 7.0.13 | 25 | 06/02/2024 |
| 7.0.12 | 25 | 06/02/2024 |
| 7.0.11 | 28 | 06/02/2024 |
| 7.0.10 | 33 | 06/02/2024 |
| 7.0.9 | 24 | 06/02/2024 |
| 7.0.8 | 23 | 06/02/2024 |
| 7.0.7 | 27 | 06/02/2024 |
| 7.0.5 | 36 | 06/02/2024 |
| 7.0.4 | 25 | 05/20/2024 |
| 7.0.3 | 28 | 05/20/2024 |
| 7.0.2 | 24 | 06/02/2024 |
| 7.0.1 | 27 | 06/02/2024 |
| 7.0.0 | 29 | 06/02/2024 |
| 7.0.0-rc.2.22476.2 | 30 | 06/02/2024 |
| 7.0.0-rc.1.22427.2 | 25 | 06/02/2024 |
| 7.0.0-preview.7.22376.6 | 30 | 06/02/2024 |
| 7.0.0-preview.6.22330.3 | 25 | 06/02/2024 |
| 7.0.0-preview.5.22303.8 | 23 | 06/02/2024 |
| 7.0.0-preview.4.22251.1 | 23 | 06/02/2024 |
| 7.0.0-preview.3.22178.4 | 27 | 04/21/2022 |
| 7.0.0-preview.2.22153.2 | 28 | 06/02/2024 |
| 7.0.0-preview.1.22109.13 | 24 | 05/30/2024 |
| 6.0.36 | 21 | 12/10/2024 |
| 6.0.35 | 21 | 11/14/2024 |
| 6.0.33 | 24 | 12/04/2024 |
| 6.0.32 | 20 | 11/27/2024 |
| 6.0.31 | 20 | 11/26/2024 |
| 6.0.30 | 32 | 06/02/2024 |
| 6.0.29 | 28 | 06/02/2024 |
| 6.0.28 | 29 | 06/02/2024 |
| 6.0.27 | 27 | 05/20/2024 |
| 6.0.26 | 32 | 05/30/2024 |
| 6.0.25 | 34 | 06/02/2024 |
| 6.0.24 | 29 | 06/02/2024 |
| 6.0.23 | 28 | 06/02/2024 |
| 6.0.22 | 27 | 05/03/2024 |
| 6.0.21 | 27 | 06/02/2024 |
| 6.0.20 | 27 | 05/03/2024 |
| 6.0.19 | 24 | 06/02/2024 |
| 6.0.18 | 31 | 06/02/2024 |
| 6.0.16 | 29 | 05/30/2024 |
| 6.0.15 | 30 | 06/02/2024 |
| 6.0.14 | 27 | 06/02/2024 |
| 6.0.13 | 28 | 06/02/2024 |
| 6.0.12 | 30 | 05/03/2024 |
| 6.0.11 | 22 | 06/02/2024 |
| 6.0.10 | 27 | 05/30/2024 |
| 6.0.9 | 31 | 05/30/2024 |
| 6.0.8 | 30 | 05/30/2024 |
| 6.0.7 | 27 | 05/20/2024 |
| 6.0.6 | 25 | 06/02/2024 |
| 6.0.5 | 30 | 05/20/2024 |
| 6.0.4 | 27 | 06/02/2024 |
| 6.0.2 | 26 | 04/21/2022 |
| 6.0.1 | 26 | 06/02/2024 |
| 6.0.0 | 24 | 06/02/2024 |
| 6.0.0-rc.2.21480.10 | 27 | 06/02/2024 |
| 6.0.0-rc.1.21452.15 | 24 | 06/02/2024 |
| 6.0.0-preview.7.21378.6 | 33 | 06/02/2024 |
| 6.0.0-preview.6.21355.2 | 25 | 06/02/2024 |
| 6.0.0-preview.5.21301.17 | 25 | 06/02/2024 |
| 6.0.0-preview.4.21253.5 | 24 | 06/02/2024 |
| 6.0.0-preview.3.21201.13 | 28 | 06/02/2024 |
| 6.0.0-preview.2.21154.6 | 30 | 06/02/2024 |
| 5.0.17 | 27 | 11/28/2023 |
| 5.0.16 | 26 | 06/02/2024 |
| 5.0.15 | 32 | 04/21/2022 |
| 5.0.14 | 25 | 06/02/2024 |
| 5.0.13 | 27 | 06/02/2024 |
| 5.0.12 | 28 | 06/02/2024 |
| 5.0.11 | 28 | 06/02/2024 |
| 5.0.10 | 26 | 06/02/2024 |
| 5.0.9 | 25 | 06/02/2024 |
| 5.0.7 | 27 | 06/02/2024 |
| 5.0.6 | 28 | 06/02/2024 |
| 5.0.5 | 27 | 06/02/2024 |
| 5.0.4 | 22 | 06/02/2024 |
| 5.0.3 | 24 | 06/02/2024 |
| 5.0.2 | 24 | 06/02/2024 |
| 5.0.1 | 26 | 06/02/2024 |
| 5.0.0 | 25 | 06/02/2024 |
| 5.0.0-rc.2.20475.17 | 26 | 06/02/2024 |
| 5.0.0-rc.1.20451.17 | 24 | 06/02/2024 |
| 5.0.0-preview.8.20414.8 | 29 | 06/02/2024 |
| 5.0.0-preview.7.20365.19 | 31 | 06/02/2024 |
| 5.0.0-preview.6.20312.15 | 22 | 06/02/2024 |
| 5.0.0-preview.5.20279.2 | 21 | 06/02/2024 |
| 5.0.0-preview.4.20257.10 | 22 | 06/02/2024 |
| 5.0.0-preview.3.20215.14 | 24 | 04/21/2022 |
| 5.0.0-preview.2.20167.3 | 26 | 05/30/2024 |
| 5.0.0-preview.1.20124.5 | 22 | 06/02/2024 |
| 3.1.32 | 26 | 05/03/2024 |
| 3.1.31 | 26 | 06/02/2024 |
| 3.1.30 | 27 | 06/02/2024 |
| 3.1.29 | 25 | 06/02/2024 |
| 3.1.28 | 29 | 06/02/2024 |
| 3.1.27 | 24 | 06/02/2024 |
| 3.1.26 | 28 | 06/02/2024 |
| 3.1.25 | 28 | 06/02/2024 |
| 3.1.23 | 27 | 05/05/2022 |
| 3.1.22 | 28 | 06/02/2024 |
| 3.1.21 | 27 | 06/02/2024 |
| 3.1.20 | 27 | 04/21/2022 |
| 3.1.19 | 24 | 04/21/2022 |
| 3.1.18 | 24 | 06/02/2024 |
| 3.1.17 | 27 | 06/02/2024 |
| 3.1.16 | 28 | 06/02/2024 |
| 3.1.15 | 28 | 11/14/2024 |
| 3.1.14 | 27 | 06/02/2024 |
| 3.1.13 | 26 | 04/21/2022 |
| 3.1.12 | 24 | 04/21/2022 |
| 3.1.11 | 27 | 06/02/2024 |
| 3.1.10 | 25 | 06/02/2024 |
| 3.1.9 | 29 | 06/02/2024 |
| 3.1.8 | 26 | 06/02/2024 |
| 3.1.7 | 24 | 06/02/2024 |
| 3.1.6 | 28 | 06/02/2024 |
| 3.1.5 | 34 | 06/02/2024 |
| 3.1.4 | 25 | 06/02/2024 |
| 3.1.2 | 24 | 06/02/2024 |
| 3.1.1 | 24 | 04/29/2024 |
| 3.1.0 | 27 | 06/02/2024 |
| 3.1.0-preview3.19555.2 | 23 | 06/02/2024 |
| 3.1.0-preview2.19528.8 | 21 | 06/02/2024 |
| 3.1.0-preview1.19508.20 | 26 | 06/02/2024 |
| 3.0.3 | 20 | 06/02/2024 |
| 3.0.2 | 22 | 11/27/2024 |
| 3.0.0 | 21 | 11/28/2024 |
| 3.0.0-rc1.19457.4 | 23 | 06/02/2024 |
| 3.0.0-preview9.19424.4 | 23 | 06/02/2024 |
| 3.0.0-preview8.19405.7 | 24 | 06/02/2024 |
| 3.0.0-preview7.19365.7 | 24 | 06/02/2024 |
| 3.0.0-preview6.19307.2 | 27 | 06/02/2024 |