Microsoft.AspNetCore.Authentication.Negotiate 10.0.2

Prefix Reserved
dotnet add package Microsoft.AspNetCore.Authentication.Negotiate --version 10.0.2
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Negotiate -Version 10.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="10.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="10.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Authentication.Negotiate --version 10.0.2
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Negotiate, 10.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.AspNetCore.Authentication.Negotiate@10.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Authentication.Negotiate&version=10.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Negotiate&version=10.0.2
                    
Install as a Cake Tool

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 &amp; 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).
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (26)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Authentication.Negotiate:

Package Downloads
Aguacongas.IdentityServer.Admin

Expose OData controllers to manage TheIdServer.

PeriaIT.DataModeler.DataService

Provides services to manage and frame the data service layer of Data Modeler. This layer is used to query a data context and provides data through endpoint methods.

Pipoburgos.SharedKernel.Api

C# DDD Distributed Services Layer

Gemstone.Security

GPA Gemstone Security Library

Gemstone.Web

GPA Gemstone Web Library

GitHub repositories (11)

Showing the top 11 popular GitHub repositories that depend on Microsoft.AspNetCore.Authentication.Negotiate:

Repository Stars
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
thepirat000/Audit.NET
An extensible framework to audit executing operations in .NET and .NET Core.
CoreWCF/CoreWCF
Main repository for the Core WCF project
webprofusion/certify
Professional ACME Client for Windows. Certificate Management UI, powered by Let's Encrypt and compatible with all ACME v2 CAs. Used by over 150,000 organisations. Remember to Star us! Download from certifytheweb.com
simpleidserver/SimpleIdServer
OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
dotnet/dotnet-monitor
This repository contains the source code for .NET Monitor - a tool that allows you to gather diagnostic data from running applications using HTTP endpoints
dotnet/systemweb-adapters
Universalis-FFXIV/Universalis
A crowdsourced market board API for FFXIV.
Nfactor26/pixel-identity
Bootstrapper for https://github.com/openiddict/openiddict-core and Asp.net Identity with a blazor based UI .
ardalis/WebApiBestPractices
Resources related to my Pluralsight course on this topic.
Version Downloads Last Updated
10.0.2 8,157 1/13/2026
10.0.1 76,625 12/9/2025
10.0.0 116,566 11/11/2025
10.0.0-rc.2.25502.107 1,822 10/14/2025
10.0.0-rc.1.25451.107 2,503 9/9/2025
10.0.0-preview.7.25380.108 732 8/12/2025
10.0.0-preview.6.25358.103 783 7/15/2025
10.0.0-preview.5.25277.114 445 6/6/2025
10.0.0-preview.4.25258.110 1,011 5/12/2025
10.0.0-preview.3.25172.1 490 4/10/2025
10.0.0-preview.2.25164.1 423 3/18/2025
10.0.0-preview.1.25120.3 430 2/25/2025
9.0.12 1,294 1/13/2026
9.0.11 116,161 11/11/2025
9.0.10 187,103 10/14/2025
9.0.9 214,296 9/9/2025
9.0.8 204,532 8/5/2025
9.0.7 165,987 7/8/2025
9.0.6 214,878 6/10/2025
9.0.5 179,556 5/13/2025
9.0.4 247,564 4/8/2025
9.0.3 203,562 3/11/2025
9.0.2 190,474 2/11/2025
9.0.1 232,714 1/14/2025
9.0.0 264,978 11/12/2024
9.0.0-rc.2.24474.3 1,164 10/8/2024
9.0.0-rc.1.24452.1 689 9/10/2024
9.0.0-preview.7.24406.2 2,326 8/13/2024
9.0.0-preview.6.24328.4 380 7/9/2024
9.0.0-preview.5.24306.11 887 6/11/2024
9.0.0-preview.4.24267.6 425 5/21/2024
9.0.0-preview.3.24172.13 519 4/11/2024
9.0.0-preview.2.24128.4 424 3/12/2024
9.0.0-preview.1.24081.5 466 2/13/2024
8.0.23 2,723 1/13/2026
8.0.22 132,348 11/11/2025
8.0.21 133,388 10/14/2025
8.0.20 204,326 9/9/2025
8.0.19 198,126 8/4/2025
8.0.18 214,583 7/8/2025
8.0.17 204,112 6/10/2025
8.0.16 233,887 5/13/2025
8.0.15 313,686 4/8/2025
8.0.14 250,308 3/11/2025
8.0.13 257,768 2/11/2025
8.0.12 337,111 1/14/2025
8.0.11 555,864 11/12/2024
8.0.10 750,762 10/8/2024
8.0.8 697,813 8/13/2024
8.0.7 396,218 7/9/2024
8.0.6 471,030 5/28/2024
8.0.5 231,857 5/14/2024
8.0.4 367,578 4/9/2024
8.0.3 365,836 3/12/2024
8.0.2 665,296 2/13/2024
8.0.1 405,119 1/9/2024
8.0.0 517,971 11/14/2023
8.0.0-rc.2.23480.2 3,489 10/10/2023
8.0.0-rc.1.23421.29 2,476 9/12/2023
8.0.0-preview.7.23375.9 1,773 8/8/2023
8.0.0-preview.6.23329.11 931 7/11/2023
8.0.0-preview.5.23302.2 633 6/13/2023
8.0.0-preview.4.23260.4 608 5/16/2023
8.0.0-preview.3.23177.8 758 4/11/2023
8.0.0-preview.2.23153.2 1,052 3/14/2023
8.0.0-preview.1.23112.2 521 2/21/2023
7.0.20 137,825 5/28/2024
7.0.19 120,581 5/14/2024
7.0.18 121,336 4/9/2024
7.0.17 119,143 3/12/2024
7.0.16 129,777 2/13/2024
7.0.15 172,143 1/9/2024
7.0.14 177,518 11/14/2023
7.0.13 180,741 10/24/2023
7.0.12 162,915 10/10/2023
7.0.11 202,425 9/12/2023
7.0.10 233,457 8/8/2023
7.0.9 189,822 7/11/2023
7.0.8 209,466 6/22/2023
7.0.7 138,518 6/13/2023
7.0.5 351,458 4/11/2023
7.0.4 194,041 3/14/2023
7.0.3 188,826 2/14/2023
7.0.2 189,215 1/10/2023
7.0.1 172,237 12/13/2022
7.0.0 179,331 11/7/2022
7.0.0-rc.2.22476.2 3,873 10/11/2022
7.0.0-rc.1.22427.2 1,629 9/14/2022
7.0.0-preview.7.22376.6 1,116 8/9/2022
7.0.0-preview.6.22330.3 651 7/12/2022
7.0.0-preview.5.22303.8 891 6/14/2022
7.0.0-preview.4.22251.1 765 5/10/2022
7.0.0-preview.3.22178.4 602 4/13/2022
7.0.0-preview.2.22153.2 505 3/14/2022
7.0.0-preview.1.22109.13 529 2/17/2022
6.0.36 144,432 11/12/2024
6.0.35 125,496 10/8/2024
6.0.33 162,288 8/13/2024
6.0.32 127,987 7/9/2024
6.0.31 135,283 5/28/2024
6.0.30 126,106 5/14/2024
6.0.29 193,624 4/9/2024
6.0.28 152,231 3/12/2024
6.0.27 179,054 2/13/2024
6.0.26 166,544 1/9/2024
6.0.25 213,162 11/14/2023
6.0.24 173,699 10/24/2023
6.0.23 152,316 10/10/2023
6.0.22 173,887 9/12/2023
6.0.21 269,114 8/8/2023
6.0.20 208,708 7/11/2023
6.0.19 153,075 6/22/2023
6.0.18 144,837 6/13/2023
6.0.16 296,253 4/11/2023
6.0.15 227,642 3/14/2023
6.0.14 516,594 2/14/2023
6.0.13 349,844 1/10/2023
6.0.12 204,284 12/13/2022
6.0.11 330,278 11/7/2022
6.0.10 352,167 10/11/2022
6.0.9 345,139 9/13/2022
6.0.8 326,114 8/9/2022
6.0.7 324,731 7/12/2022
6.0.6 302,026 6/14/2022
6.0.5 336,687 5/10/2022
6.0.4 371,104 4/11/2022
6.0.3 299,452 3/8/2022
6.0.2 356,510 2/8/2022
6.0.1 330,047 12/14/2021
6.0.0 404,541 11/8/2021
6.0.0-rc.2.21480.10 3,254 10/12/2021
6.0.0-rc.1.21452.15 890 9/14/2021
6.0.0-preview.7.21378.6 939 8/10/2021
6.0.0-preview.6.21355.2 518 7/14/2021
6.0.0-preview.5.21301.17 461 6/15/2021
6.0.0-preview.4.21253.5 433 5/24/2021
6.0.0-preview.3.21201.13 487 4/8/2021
6.0.0-preview.2.21154.6 593 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 652 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 184,717 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 120,415 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 126,504 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 125,272 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 155,393 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 148,938 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 172,078 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 310,202 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 188,797 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 173,782 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 165,472 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 259,426 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 177,139 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 140,601 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 153,141 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 139,776 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 141,897 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 140,522 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 867 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 658 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 660 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 671 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 646 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 645 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 676 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 623 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 673 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 642 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 131,946 12/13/2022
3.1.31 115,172 11/8/2022
3.1.30 118,550 10/11/2022
3.1.29 116,469 9/13/2022
3.1.28 117,227 8/9/2022
3.1.27 117,551 7/12/2022
3.1.26 116,244 6/14/2022
3.1.25 120,873 5/10/2022
3.1.24 119,465 4/11/2022
3.1.23 130,101 3/8/2022
3.1.22 148,703 12/14/2021
3.1.21 124,719 11/7/2021
3.1.20 120,337 10/11/2021
3.1.19 158,063 9/14/2021
3.1.18 146,189 8/10/2021
3.1.17 150,214 7/13/2021
3.1.16 138,863 6/8/2021
3.1.15 123,520 5/11/2021
3.1.14 147,231 4/6/2021
3.1.13 130,768 3/9/2021
3.1.12 164,052 2/9/2021
3.1.11 146,175 1/12/2021
3.1.10 176,615 11/9/2020
3.1.9 173,418 10/13/2020
3.1.8 204,588 9/8/2020
3.1.7 183,783 8/11/2020
3.1.6 154,157 7/14/2020
3.1.5 175,855 6/9/2020
3.1.4 193,025 5/12/2020
3.1.3 197,701 3/24/2020
3.1.2 144,739 2/18/2020
3.1.1 177,334 1/14/2020
3.1.0 145,881 12/3/2019
3.1.0-preview3.19555.2 658 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 647 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 659 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 116,974 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 123,063 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 461,960 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 718 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 779 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 766 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 739 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 1,775 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.