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 63,964 1/13/2026
10.0.1 118,329 12/9/2025
10.0.0 142,651 11/11/2025
10.0.0-rc.2.25502.107 1,919 10/14/2025
10.0.0-rc.1.25451.107 2,515 9/9/2025
10.0.0-preview.7.25380.108 742 8/12/2025
10.0.0-preview.6.25358.103 787 7/15/2025
10.0.0-preview.5.25277.114 453 6/6/2025
10.0.0-preview.4.25258.110 1,030 5/12/2025
10.0.0-preview.3.25172.1 493 4/10/2025
10.0.0-preview.2.25164.1 426 3/18/2025
10.0.0-preview.1.25120.3 461 2/25/2025
9.0.12 11,790 1/13/2026
9.0.11 146,834 11/11/2025
9.0.10 214,675 10/14/2025
9.0.9 247,392 9/9/2025
9.0.8 229,744 8/5/2025
9.0.7 189,618 7/8/2025
9.0.6 242,302 6/10/2025
9.0.5 203,623 5/13/2025
9.0.4 273,184 4/8/2025
9.0.3 229,367 3/11/2025
9.0.2 213,905 2/11/2025
9.0.1 258,836 1/14/2025
9.0.0 291,476 11/12/2024
9.0.0-rc.2.24474.3 1,167 10/8/2024
9.0.0-rc.1.24452.1 694 9/10/2024
9.0.0-preview.7.24406.2 2,327 8/13/2024
9.0.0-preview.6.24328.4 381 7/9/2024
9.0.0-preview.5.24306.11 893 6/11/2024
9.0.0-preview.4.24267.6 430 5/21/2024
9.0.0-preview.3.24172.13 524 4/11/2024
9.0.0-preview.2.24128.4 427 3/12/2024
9.0.0-preview.1.24081.5 470 2/13/2024
8.0.23 22,846 1/13/2026
8.0.22 168,039 11/11/2025
8.0.21 162,227 10/14/2025
8.0.20 234,541 9/9/2025
8.0.19 227,235 8/4/2025
8.0.18 241,661 7/8/2025
8.0.17 234,119 6/10/2025
8.0.16 262,922 5/13/2025
8.0.15 343,532 4/8/2025
8.0.14 278,802 3/11/2025
8.0.13 284,502 2/11/2025
8.0.12 367,618 1/14/2025
8.0.11 596,649 11/12/2024
8.0.10 790,932 10/8/2024
8.0.8 735,697 8/13/2024
8.0.7 424,400 7/9/2024
8.0.6 505,016 5/28/2024
8.0.5 256,000 5/14/2024
8.0.4 397,156 4/9/2024
8.0.3 393,470 3/12/2024
8.0.2 701,972 2/13/2024
8.0.1 433,161 1/9/2024
8.0.0 548,970 11/14/2023
8.0.0-rc.2.23480.2 3,494 10/10/2023
8.0.0-rc.1.23421.29 2,478 9/12/2023
8.0.0-preview.7.23375.9 1,779 8/8/2023
8.0.0-preview.6.23329.11 937 7/11/2023
8.0.0-preview.5.23302.2 638 6/13/2023
8.0.0-preview.4.23260.4 612 5/16/2023
8.0.0-preview.3.23177.8 766 4/11/2023
8.0.0-preview.2.23153.2 1,054 3/14/2023
8.0.0-preview.1.23112.2 529 2/21/2023
7.0.20 160,745 5/28/2024
7.0.19 142,945 5/14/2024
7.0.18 143,573 4/9/2024
7.0.17 141,320 3/12/2024
7.0.16 152,093 2/13/2024
7.0.15 194,724 1/9/2024
7.0.14 199,876 11/14/2023
7.0.13 203,222 10/24/2023
7.0.12 185,418 10/10/2023
7.0.11 225,147 9/12/2023
7.0.10 256,227 8/8/2023
7.0.9 212,274 7/11/2023
7.0.8 232,876 6/22/2023
7.0.7 160,724 6/13/2023
7.0.5 374,126 4/11/2023
7.0.4 216,920 3/14/2023
7.0.3 211,409 2/14/2023
7.0.2 211,459 1/10/2023
7.0.1 194,621 12/13/2022
7.0.0 190,570 11/7/2022
7.0.0-rc.2.22476.2 3,881 10/11/2022
7.0.0-rc.1.22427.2 1,637 9/14/2022
7.0.0-preview.7.22376.6 1,120 8/9/2022
7.0.0-preview.6.22330.3 657 7/12/2022
7.0.0-preview.5.22303.8 895 6/14/2022
7.0.0-preview.4.22251.1 768 5/10/2022
7.0.0-preview.3.22178.4 604 4/13/2022
7.0.0-preview.2.22153.2 511 3/14/2022
7.0.0-preview.1.22109.13 534 2/17/2022
6.0.36 168,116 11/12/2024
6.0.35 147,843 10/8/2024
6.0.33 185,601 8/13/2024
6.0.32 150,353 7/9/2024
6.0.31 157,685 5/28/2024
6.0.30 148,359 5/14/2024
6.0.29 217,307 4/9/2024
6.0.28 174,452 3/12/2024
6.0.27 201,536 2/13/2024
6.0.26 189,061 1/9/2024
6.0.25 238,274 11/14/2023
6.0.24 196,157 10/24/2023
6.0.23 174,689 10/10/2023
6.0.22 196,523 9/12/2023
6.0.21 292,215 8/8/2023
6.0.20 231,374 7/11/2023
6.0.19 175,453 6/22/2023
6.0.18 167,185 6/13/2023
6.0.16 319,708 4/11/2023
6.0.15 251,299 3/14/2023
6.0.14 540,324 2/14/2023
6.0.13 372,493 1/10/2023
6.0.12 227,162 12/13/2022
6.0.11 353,029 11/7/2022
6.0.10 375,257 10/11/2022
6.0.9 368,912 9/13/2022
6.0.8 349,094 8/9/2022
6.0.7 347,877 7/12/2022
6.0.6 327,672 6/14/2022
6.0.5 359,349 5/10/2022
6.0.4 393,710 4/11/2022
6.0.3 322,754 3/8/2022
6.0.2 379,068 2/8/2022
6.0.1 353,652 12/14/2021
6.0.0 428,580 11/8/2021
6.0.0-rc.2.21480.10 3,261 10/12/2021
6.0.0-rc.1.21452.15 893 9/14/2021
6.0.0-preview.7.21378.6 943 8/10/2021
6.0.0-preview.6.21355.2 522 7/14/2021
6.0.0-preview.5.21301.17 464 6/15/2021
6.0.0-preview.4.21253.5 436 5/24/2021
6.0.0-preview.3.21201.13 490 4/8/2021
6.0.0-preview.2.21154.6 595 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 657 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 208,426 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 142,559 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 148,669 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 147,387 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 177,570 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 171,148 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 194,217 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 332,384 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 211,214 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 195,919 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 187,638 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 281,567 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 199,361 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 162,753 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 175,264 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 161,912 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 164,010 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 162,634 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 872 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 662 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 663 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 676 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 656 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 654 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 681 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 628 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 683 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 645 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 154,455 12/13/2022
3.1.31 137,275 11/8/2022
3.1.30 140,662 10/11/2022
3.1.29 138,581 9/13/2022
3.1.28 139,341 8/9/2022
3.1.27 139,657 7/12/2022
3.1.26 138,363 6/14/2022
3.1.25 143,005 5/10/2022
3.1.24 141,569 4/11/2022
3.1.23 152,220 3/8/2022
3.1.22 170,843 12/14/2021
3.1.21 146,846 11/7/2021
3.1.20 142,465 10/11/2021
3.1.19 180,515 9/14/2021
3.1.18 168,472 8/10/2021
3.1.17 172,336 7/13/2021
3.1.16 160,979 6/8/2021
3.1.15 145,623 5/11/2021
3.1.14 169,349 4/6/2021
3.1.13 152,880 3/9/2021
3.1.12 186,306 2/9/2021
3.1.11 168,441 1/12/2021
3.1.10 198,762 11/9/2020
3.1.9 195,537 10/13/2020
3.1.8 226,873 9/8/2020
3.1.7 206,379 8/11/2020
3.1.6 176,305 7/14/2020
3.1.5 198,106 6/9/2020
3.1.4 215,391 5/12/2020
3.1.3 219,907 3/24/2020
3.1.2 166,896 2/18/2020
3.1.1 199,470 1/14/2020
3.1.0 168,047 12/3/2019
3.1.0-preview3.19555.2 663 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 654 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 666 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 139,057 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 145,142 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 484,981 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 722 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 787 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 771 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 747 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 1,782 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.