Microsoft.IdentityModel.Tokens
8.1.2
Prefix Reserved
dotnet add package Microsoft.IdentityModel.Tokens --version 8.1.2
NuGet\Install-Package Microsoft.IdentityModel.Tokens -Version 8.1.2
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.1.2" />
paket add Microsoft.IdentityModel.Tokens --version 8.1.2
#r "nuget: Microsoft.IdentityModel.Tokens, 8.1.2"
// Install Microsoft.IdentityModel.Tokens as a Cake Addin #addin nuget:?package=Microsoft.IdentityModel.Tokens&version=8.1.2 // Install Microsoft.IdentityModel.Tokens as a Cake Tool #tool nuget:?package=Microsoft.IdentityModel.Tokens&version=8.1.2
IdentityModel Extensions for .NET
IdentityModel Extensions for .NET provide assemblies that are interesting for web developers that wish to use federated identity providers for establishing the caller's identity.
Versions
You can find the release notes for each version here. Older versions can be found here.
IdentityModel 7x
We are excited to announce the release of IdentityModel 7x, a major update to our popular .NET auth validation library. This new version introduces several improvements related to serialization and consistency in the API, which will provide a better user experience for developers, as well as full AOT compatibility on .NET, and huge perf improvements compared to 6x.
Note about 6.x
We bumped the release from 6.x to 7.x. We are maintaining two releases from two different branches. dev - 7.x dev6x - 6.x
dev6x will be maintained until March 2024, at which point, you will need to move to 7x to continue to get the latest and greatest improvements and security updates.
Samples and Documentation
The scenarios supported by IdentityModel extensions for .NET are described in Scenarios. The libraries are in particular used part of ASP.NET security to validate tokens in ASP.NET Web Apps and Web APIs. To learn more about token validation, and find samples, see:
- Microsoft Entra ID with ASP.NET Core
- Developing ASP.NET Apps with Microsoft Entra ID
- Validating tokens
- more generally, the library's Wiki
- the reference documentation
Community Help and Support
We leverage Stack Overflow to work with the community on supporting Microsoft Entra and its SDKs, including this one! We highly recommend you ask your questions on Stack Overflow (we're all on there!) Also browse existing issues to see if someone has had your question before.
We recommend you use the "identityModel" tag so we can see it! Here is the latest Q&A on Stack Overflow for IdentityModel: https://stackoverflow.com/questions/tagged/identityModel
Have a design proposal? Please submit a design proposal before starting work on a PR to ensure it means the goals/objectives of this library and it's priorities.
Security Reporting
See SECURITY.md
Security Vulnerability in Microsoft.IdentityModel.Tokens 5.1.0
IdentityModel Extensions library Microsoft.IdentityModel.Tokens has a known security vulnerability affecting version 5.1.0. Please update to >= 5.1.1 immediately. An updated package is available on NuGet. For more details, see the security notice.
Contributing
All code is licensed under the MIT license and we triage actively on GitHub. We enthusiastically welcome contributions and feedback. See Contributing.md for guidelines, branch information, build instructions, and legalese.
License
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License");
We Value and Adhere to the Microsoft Open Source Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.1.2)
- System.Memory (>= 4.5.5)
- System.Text.Json (>= 8.0.4)
-
.NETFramework 4.7.2
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.1.2)
- System.Memory (>= 4.5.5)
- System.Text.Json (>= 8.0.4)
-
.NETStandard 2.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.IdentityModel.Logging (>= 8.1.2)
- System.Security.Cryptography.Cng (>= 4.5.0)
- System.Text.Json (>= 8.0.4)
-
net6.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.1.2)
-
net8.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.1.2)
-
net9.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.1.2)
NuGet packages (1.1K)
Showing the top 5 NuGet packages that depend on Microsoft.IdentityModel.Tokens:
Package | Downloads |
---|---|
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens. As of IdentityModel 7x, this is a legacy tool that should be replaced with Microsoft.IdentityModel.JsonWebTokens. |
|
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens. This is a newer, faster version of System.IdentityModel.Tokens.Jwt that has additional functionality. |
|
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation. |
|
Microsoft.IdentityModel.Xml
Includes types that provide support for Reading / Writing XML with Enveloped Signatures. |
|
Microsoft.IdentityModel.Tokens.Saml
Includes types that provide support for SamlTokens version 1 and 2. |
GitHub repositories (153)
Showing the top 5 popular GitHub repositories that depend on Microsoft.IdentityModel.Tokens:
Repository | Stars |
---|---|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 9 RC2, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
|
Version | Downloads | Last updated |
---|---|---|
8.1.2 | 1,505,772 | 10/8/2024 |
8.1.1 | 262,721 | 10/5/2024 |
8.0.1 | 4,769,714 | 7/23/2024 |
8.0.0 | 1,321,630 | 7/16/2024 |
8.0.0-preview1 | 76,086 | 6/19/2024 |
7.7.1 | 830,922 | 7/20/2024 |
7.7.0 | 26,674 | 7/18/2024 |
7.6.3 | 1,397,242 | 7/10/2024 |
7.6.2 | 3,108,103 | 6/20/2024 |
7.6.1 | 703,663 | 6/17/2024 |
7.6.0 | 9,303,484 | 5/28/2024 |
7.5.2 | 3,334,415 | 5/13/2024 |
7.5.1 | 9,624,143 | 4/5/2024 |
7.5.0 | 4,346,781 | 3/27/2024 |
7.4.1 | 3,827,652 | 3/15/2024 |
7.4.0 | 6,002,043 | 2/26/2024 |
7.4.0-preview1 | 16,848 | 2/12/2024 |
7.3.1 | 10,006,999 | 2/3/2024 |
7.3.0 | 1,472,976 | 1/30/2024 |
7.2.0 | 10,436,555 | 1/10/2024 |
7.1.2 | 45,843,337 | 1/9/2024 |
7.0.3 | 20,610,546 | 10/17/2023 |
7.0.2 | 1,478,561 | 9/29/2023 |
7.0.1 | 278,578 | 9/27/2023 |
7.0.0 | 5,819,618 | 9/11/2023 |
7.0.0-preview5 | 202,876 | 9/6/2023 |
7.0.0-preview4 | 10,009 | 8/29/2023 |
7.0.0-preview3 | 22,129 | 8/21/2023 |
7.0.0-preview2 | 11,496 | 8/13/2023 |
7.0.0-preview | 159,149 | 7/11/2023 |
6.36.0 | 610,161 | 7/19/2024 |
6.35.1 | 245,093 | 7/11/2024 |
6.35.0 | 71,145,802 | 1/9/2024 |
6.34.0 | 13,155,749 | 10/17/2023 |
6.33.0 | 8,406,290 | 10/3/2023 |
6.32.3 | 3,139,192 | 9/5/2023 |
6.32.2 | 2,881,126 | 8/26/2023 |
6.32.1 | 4,783,377 | 7/28/2023 |
6.32.0 | 7,213,691 | 7/12/2023 |
6.31.0 | 6,999,079 | 6/8/2023 |
6.30.1 | 5,905,730 | 5/10/2023 |
6.30.0 | 7,115,952 | 4/26/2023 |
6.29.0 | 4,520,856 | 4/14/2023 |
6.28.1 | 3,230,553 | 4/3/2023 |
6.27.0 | 13,298,499 | 2/16/2023 |
6.26.1 | 7,066,853 | 2/7/2023 |
6.26.0 | 4,189,747 | 1/20/2023 |
6.25.1 | 27,149,169 | 12/1/2022 |
6.25.0 | 11,274,277 | 10/27/2022 |
6.24.0 | 74,814,588 | 10/13/2022 |
6.23.1 | 21,914,454 | 9/8/2022 |
6.23.0 | 793,657 | 9/6/2022 |
6.22.1 | 3,496,387 | 8/25/2022 |
6.22.0 | 14,168,742 | 7/27/2022 |
6.21.0 | 67,925,656 | 7/1/2022 |
6.20.0 | 8,052,645 | 6/21/2022 |
6.19.0 | 20,741,538 | 6/6/2022 |
6.18.0 | 6,173,779 | 5/19/2022 |
6.17.0 | 18,553,973 | 4/6/2022 |
6.16.0 | 18,331,876 | 2/18/2022 |
6.15.1 | 60,511,388 | 1/20/2022 |
6.15.0 | 15,870,384 | 12/3/2021 |
6.14.1 | 10,456,492 | 11/4/2021 |
6.14.0 | 1,097,545 | 10/29/2021 |
6.13.1 | 13,468,614 | 10/7/2021 |
6.12.2 | 27,799,379 | 8/20/2021 |
6.12.1 | 4,176,524 | 8/13/2021 |
6.12.0 | 7,505,981 | 7/21/2021 |
6.11.1 | 26,709,821 | 5/21/2021 |
6.11.0 | 5,044,004 | 4/27/2021 |
6.10.2 | 10,615,854 | 4/15/2021 |
6.10.1 | 1,197,944 | 4/12/2021 |
6.10.0 | 152,662,029 | 3/30/2021 |
6.9.0 | 2,922,228 | 3/16/2021 |
6.8.0 | 242,806,395 | 10/13/2020 |
6.7.2-preview-10803222715 | 115,073 | 8/4/2020 |
6.7.1 | 93,197,060 | 6/30/2020 |
6.6.1-preview-10617201806 | 5,046 | 7/10/2020 |
6.6.0 | 11,209,761 | 5/22/2020 |
6.5.1 | 5,694,111 | 4/28/2020 |
6.5.0 | 15,574,002 | 3/24/2020 |
5.7.0 | 1,550,616 | 1/9/2024 |
5.6.0 | 154,119,914 | 10/19/2019 |
5.5.0 | 223,624,786 | 6/24/2019 |
5.4.0 | 112,579,421 | 1/23/2019 |
5.3.0 | 74,404,829 | 10/5/2018 |
5.2.4 | 34,140,445 | 6/19/2018 |
5.2.2 | 26,444,640 | 4/24/2018 |
5.2.1 | 18,988,598 | 2/8/2018 |
5.1.5 | 5,391,408 | 11/17/2017 |
5.1.4 | 30,370,353 | 6/12/2017 |
5.1.3 | 4,263,283 | 2/28/2017 |
5.1.2 | 46,497,494 | 1/11/2017 |
5.0.0 | 3,188,327 | 6/27/2016 |