Microsoft.AspNetCore.Authentication.Negotiate 10.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Authentication.Negotiate --version 10.0.0
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Negotiate -Version 10.0.0
                    
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.0" />
                    
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.0" />
                    
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.0
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Negotiate, 10.0.0"
                    
#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.0
                    
#: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.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Negotiate&version=10.0.0
                    
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 (23)

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.1 48,682 12/9/2025
10.0.0 107,691 11/11/2025
10.0.0-rc.2.25502.107 1,803 10/14/2025
10.0.0-rc.1.25451.107 2,501 9/9/2025
10.0.0-preview.7.25380.108 726 8/12/2025
10.0.0-preview.6.25358.103 780 7/15/2025
10.0.0-preview.5.25277.114 441 6/6/2025
10.0.0-preview.4.25258.110 1,011 5/12/2025
10.0.0-preview.3.25172.1 487 4/10/2025
10.0.0-preview.2.25164.1 420 3/18/2025
10.0.0-preview.1.25120.3 428 2/25/2025
9.0.11 97,909 11/11/2025
9.0.10 172,071 10/14/2025
9.0.9 198,957 9/9/2025
9.0.8 190,485 8/5/2025
9.0.7 152,420 7/8/2025
9.0.6 199,877 6/10/2025
9.0.5 166,140 5/13/2025
9.0.4 233,229 4/8/2025
9.0.3 189,307 3/11/2025
9.0.2 177,106 2/11/2025
9.0.1 218,202 1/14/2025
9.0.0 250,461 11/12/2024
9.0.0-rc.2.24474.3 1,162 10/8/2024
9.0.0-rc.1.24452.1 688 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 885 6/11/2024
9.0.0-preview.4.24267.6 421 5/21/2024
9.0.0-preview.3.24172.13 518 4/11/2024
9.0.0-preview.2.24128.4 422 3/12/2024
9.0.0-preview.1.24081.5 466 2/13/2024
8.0.22 110,921 11/11/2025
8.0.21 118,326 10/14/2025
8.0.20 188,774 9/9/2025
8.0.19 183,093 8/4/2025
8.0.18 199,461 7/8/2025
8.0.17 188,877 6/10/2025
8.0.16 218,341 5/13/2025
8.0.15 298,039 4/8/2025
8.0.14 235,385 3/11/2025
8.0.13 243,437 2/11/2025
8.0.12 321,570 1/14/2025
8.0.11 537,520 11/12/2024
8.0.10 732,437 10/8/2024
8.0.8 680,250 8/13/2024
8.0.7 381,186 7/9/2024
8.0.6 454,468 5/28/2024
8.0.5 218,249 5/14/2024
8.0.4 352,560 4/9/2024
8.0.3 351,219 3/12/2024
8.0.2 647,638 2/13/2024
8.0.1 390,143 1/9/2024
8.0.0 502,297 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 632 6/13/2023
8.0.0-preview.4.23260.4 608 5/16/2023
8.0.0-preview.3.23177.8 754 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 124,545 5/28/2024
7.0.19 107,426 5/14/2024
7.0.18 108,233 4/9/2024
7.0.17 106,063 3/12/2024
7.0.16 116,656 2/13/2024
7.0.15 158,969 1/9/2024
7.0.14 164,259 11/14/2023
7.0.13 167,596 10/24/2023
7.0.12 149,739 10/10/2023
7.0.11 189,157 9/12/2023
7.0.10 220,116 8/8/2023
7.0.9 176,675 7/11/2023
7.0.8 196,081 6/22/2023
7.0.7 125,415 6/13/2023
7.0.5 338,190 4/11/2023
7.0.4 180,737 3/14/2023
7.0.3 175,578 2/14/2023
7.0.2 176,120 1/10/2023
7.0.1 159,099 12/13/2022
7.0.0 174,834 11/7/2022
7.0.0-rc.2.22476.2 3,873 10/11/2022
7.0.0-rc.1.22427.2 1,626 9/14/2022
7.0.0-preview.7.22376.6 1,116 8/9/2022
7.0.0-preview.6.22330.3 650 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 601 4/13/2022
7.0.0-preview.2.22153.2 503 3/14/2022
7.0.0-preview.1.22109.13 527 2/17/2022
6.0.36 130,852 11/12/2024
6.0.35 112,353 10/8/2024
6.0.33 148,696 8/13/2024
6.0.32 114,873 7/9/2024
6.0.31 122,125 5/28/2024
6.0.30 113,003 5/14/2024
6.0.29 180,235 4/9/2024
6.0.28 139,136 3/12/2024
6.0.27 165,831 2/13/2024
6.0.26 153,348 1/9/2024
6.0.25 199,493 11/14/2023
6.0.24 160,547 10/24/2023
6.0.23 139,182 10/10/2023
6.0.22 160,606 9/12/2023
6.0.21 255,787 8/8/2023
6.0.20 195,485 7/11/2023
6.0.19 139,957 6/22/2023
6.0.18 131,667 6/13/2023
6.0.16 282,845 4/11/2023
6.0.15 213,943 3/14/2023
6.0.14 503,102 2/14/2023
6.0.13 336,619 1/10/2023
6.0.12 191,037 12/13/2022
6.0.11 317,009 11/7/2022
6.0.10 338,800 10/11/2022
6.0.9 331,611 9/13/2022
6.0.8 312,711 8/9/2022
6.0.7 311,285 7/12/2022
6.0.6 288,085 6/14/2022
6.0.5 323,410 5/10/2022
6.0.4 357,901 4/11/2022
6.0.3 286,077 3/8/2022
6.0.2 343,309 2/8/2022
6.0.1 316,623 12/14/2021
6.0.0 390,790 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 484 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 651 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 170,894 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 107,346 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 113,423 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 112,206 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 142,307 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 135,851 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 159,013 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 297,126 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 175,657 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 160,725 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 152,407 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 246,357 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 164,034 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 127,533 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 140,072 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 126,706 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 128,837 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 127,454 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 670 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 640 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 621 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 671 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 641 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 118,807 12/13/2022
3.1.31 102,107 11/8/2022
3.1.30 105,479 10/11/2022
3.1.29 103,399 9/13/2022
3.1.28 104,164 8/9/2022
3.1.27 104,485 7/12/2022
3.1.26 103,176 6/14/2022
3.1.25 107,801 5/10/2022
3.1.24 106,404 4/11/2022
3.1.23 117,038 3/8/2022
3.1.22 135,644 12/14/2021
3.1.21 111,660 11/7/2021
3.1.20 107,263 10/11/2021
3.1.19 145,002 9/14/2021
3.1.18 133,065 8/10/2021
3.1.17 137,148 7/13/2021
3.1.16 125,804 6/8/2021
3.1.15 110,463 5/11/2021
3.1.14 134,168 4/6/2021
3.1.13 117,712 3/9/2021
3.1.12 150,976 2/9/2021
3.1.11 133,070 1/12/2021
3.1.10 163,548 11/9/2020
3.1.9 160,354 10/13/2020
3.1.8 191,490 9/8/2020
3.1.7 170,612 8/11/2020
3.1.6 141,093 7/14/2020
3.1.5 162,711 6/9/2020
3.1.4 179,896 5/12/2020
3.1.3 184,613 3/24/2020
3.1.2 131,650 2/18/2020
3.1.1 164,272 1/14/2020
3.1.0 132,784 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 644 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 103,923 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 110,010 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 448,564 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 717 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 778 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.