Microsoft.AspNetCore.Authentication.Negotiate 10.0.0

Prefix Reserved
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 (25)

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

rbkApiModules.Commons.Core

Package Description

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.0 11,886 11/11/2025
10.0.0-rc.2.25502.107 1,662 10/14/2025
10.0.0-rc.1.25451.107 2,453 9/9/2025
10.0.0-preview.7.25380.108 698 8/12/2025
10.0.0-preview.6.25358.103 776 7/15/2025
10.0.0-preview.5.25277.114 421 6/6/2025
10.0.0-preview.4.25258.110 986 5/12/2025
10.0.0-preview.3.25172.1 475 4/10/2025
10.0.0-preview.2.25164.1 401 3/18/2025
10.0.0-preview.1.25120.3 419 2/25/2025
9.0.11 15,017 11/11/2025
9.0.10 77,158 10/14/2025
9.0.9 121,408 9/9/2025
9.0.8 114,484 8/5/2025
9.0.7 81,010 7/8/2025
9.0.6 121,870 6/10/2025
9.0.5 95,777 5/13/2025
9.0.4 160,116 4/8/2025
9.0.3 115,299 3/11/2025
9.0.2 107,579 2/11/2025
9.0.1 143,351 1/14/2025
9.0.0 176,574 11/12/2024
9.0.0-rc.2.24474.3 1,151 10/8/2024
9.0.0-rc.1.24452.1 674 9/10/2024
9.0.0-preview.7.24406.2 2,316 8/13/2024
9.0.0-preview.6.24328.4 371 7/9/2024
9.0.0-preview.5.24306.11 866 6/11/2024
9.0.0-preview.4.24267.6 385 5/21/2024
9.0.0-preview.3.24172.13 514 4/11/2024
9.0.0-preview.2.24128.4 416 3/12/2024
9.0.0-preview.1.24081.5 464 2/13/2024
8.0.22 11,928 11/11/2025
8.0.21 38,414 10/14/2025
8.0.20 109,108 9/9/2025
8.0.19 101,360 8/4/2025
8.0.18 108,072 7/8/2025
8.0.17 107,044 6/10/2025
8.0.16 137,360 5/13/2025
8.0.15 212,949 4/8/2025
8.0.14 157,234 3/11/2025
8.0.13 168,065 2/11/2025
8.0.12 238,046 1/14/2025
8.0.11 436,111 11/12/2024
8.0.10 631,707 10/8/2024
8.0.8 573,173 8/13/2024
8.0.7 303,958 7/9/2024
8.0.6 363,758 5/28/2024
8.0.5 146,956 5/14/2024
8.0.4 274,309 4/9/2024
8.0.3 273,203 3/12/2024
8.0.2 532,159 2/13/2024
8.0.1 312,273 1/9/2024
8.0.0 418,674 11/14/2023
8.0.0-rc.2.23480.2 3,480 10/10/2023
8.0.0-rc.1.23421.29 2,471 9/12/2023
8.0.0-preview.7.23375.9 1,757 8/8/2023
8.0.0-preview.6.23329.11 913 7/11/2023
8.0.0-preview.5.23302.2 619 6/13/2023
8.0.0-preview.4.23260.4 592 5/16/2023
8.0.0-preview.3.23177.8 732 4/11/2023
8.0.0-preview.2.23153.2 1,042 3/14/2023
8.0.0-preview.1.23112.2 501 2/21/2023
7.0.20 54,924 5/28/2024
7.0.19 39,176 5/14/2024
7.0.18 40,335 4/9/2024
7.0.17 38,239 3/12/2024
7.0.16 48,638 2/13/2024
7.0.15 90,679 1/9/2024
7.0.14 95,825 11/14/2023
7.0.13 99,361 10/24/2023
7.0.12 81,463 10/10/2023
7.0.11 120,463 9/12/2023
7.0.10 151,038 8/8/2023
7.0.9 108,089 7/11/2023
7.0.8 126,067 6/22/2023
7.0.7 57,577 6/13/2023
7.0.5 268,996 4/11/2023
7.0.4 111,694 3/14/2023
7.0.3 107,171 2/14/2023
7.0.2 108,237 1/10/2023
7.0.1 90,885 12/13/2022
7.0.0 107,239 11/7/2022
7.0.0-rc.2.22476.2 3,853 10/11/2022
7.0.0-rc.1.22427.2 1,604 9/14/2022
7.0.0-preview.7.22376.6 1,100 8/9/2022
7.0.0-preview.6.22330.3 628 7/12/2022
7.0.0-preview.5.22303.8 874 6/14/2022
7.0.0-preview.4.22251.1 751 5/10/2022
7.0.0-preview.3.22178.4 580 4/13/2022
7.0.0-preview.2.22153.2 480 3/14/2022
7.0.0-preview.1.22109.13 504 2/17/2022
6.0.36 60,249 11/12/2024
6.0.35 44,264 10/8/2024
6.0.33 78,884 8/13/2024
6.0.32 46,790 7/9/2024
6.0.31 53,857 5/28/2024
6.0.30 44,973 5/14/2024
6.0.29 110,585 4/9/2024
6.0.28 71,238 3/12/2024
6.0.27 96,614 2/13/2024
6.0.26 84,602 1/9/2024
6.0.25 128,954 11/14/2023
6.0.24 92,028 10/24/2023
6.0.23 70,982 10/10/2023
6.0.22 91,934 9/12/2023
6.0.21 185,854 8/8/2023
6.0.20 126,277 7/11/2023
6.0.19 72,031 6/22/2023
6.0.18 63,382 6/13/2023
6.0.16 212,648 4/11/2023
6.0.15 142,112 3/14/2023
6.0.14 432,290 2/14/2023
6.0.13 267,753 1/10/2023
6.0.12 121,889 12/13/2022
6.0.11 248,185 11/7/2022
6.0.10 269,008 10/11/2022
6.0.9 260,938 9/13/2022
6.0.8 243,339 8/9/2022
6.0.7 240,771 7/12/2022
6.0.6 214,477 6/14/2022
6.0.5 254,700 5/10/2022
6.0.4 289,089 4/11/2022
6.0.3 216,432 3/8/2022
6.0.2 274,750 2/8/2022
6.0.1 246,014 12/14/2021
6.0.0 318,783 11/8/2021
6.0.0-rc.2.21480.10 3,228 10/12/2021
6.0.0-rc.1.21452.15 874 9/14/2021
6.0.0-preview.7.21378.6 925 8/10/2021
6.0.0-preview.6.21355.2 491 7/14/2021
6.0.0-preview.5.21301.17 447 6/15/2021
6.0.0-preview.4.21253.5 417 5/24/2021
6.0.0-preview.3.21201.13 464 4/8/2021
6.0.0-preview.2.21154.6 565 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 623 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 100,062 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 39,534 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 45,623 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 44,506 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 74,470 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 67,851 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 91,270 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 229,291 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 107,597 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 93,015 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 84,643 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 178,627 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 96,087 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 59,797 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 72,358 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 58,917 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 61,135 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 59,719 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 837 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 628 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 633 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 631 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 609 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 601 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 649 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 588 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 637 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 614 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 50,537 12/13/2022
3.1.31 34,428 11/8/2022
3.1.30 37,757 10/11/2022
3.1.29 35,695 9/13/2022
3.1.28 36,453 8/9/2022
3.1.27 36,791 7/12/2022
3.1.26 35,466 6/14/2022
3.1.25 40,070 5/10/2022
3.1.24 38,719 4/11/2022
3.1.23 49,281 3/8/2022
3.1.22 67,948 12/14/2021
3.1.21 43,940 11/7/2021
3.1.20 39,496 10/11/2021
3.1.19 77,173 9/14/2021
3.1.18 64,852 8/10/2021
3.1.17 69,428 7/13/2021
3.1.16 58,065 6/8/2021
3.1.15 42,800 5/11/2021
3.1.14 66,470 4/6/2021
3.1.13 49,960 3/9/2021
3.1.12 82,999 2/9/2021
3.1.11 65,142 1/12/2021
3.1.10 95,841 11/9/2020
3.1.9 92,681 10/13/2020
3.1.8 123,563 9/8/2020
3.1.7 102,834 8/11/2020
3.1.6 73,328 7/14/2020
3.1.5 94,790 6/9/2020
3.1.4 111,696 5/12/2020
3.1.3 116,624 3/24/2020
3.1.2 63,860 2/18/2020
3.1.1 96,554 1/14/2020
3.1.0 64,904 12/3/2019
3.1.0-preview3.19555.2 631 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 610 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 630 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 36,254 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 42,348 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 379,178 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 687 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 740 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 738 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 710 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 1,747 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.