Microsoft.IdentityModel.Tokens 8.2.1
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 [email protected] with any additional questions or comments.
Showing the top 20 packages that depend on Microsoft.IdentityModel.Tokens.
Packages | Downloads |
---|---|
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
84 |
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
80 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
79 |
Twilio
Twilio REST API helper library
|
67 |
Twilio
Twilio REST API helper library
|
56 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
52 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
52 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
51 |
Twilio
Twilio REST API helper library
|
50 |
Twilio
Twilio REST API helper library
|
49 |
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
46 |
Twilio
Twilio REST API helper library
|
46 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
46 |
Twilio
Twilio REST API helper library
|
45 |
.NET Framework 4.6.2
- Microsoft.IdentityModel.Logging (>= 8.2.1)
- System.Text.Json (>= 8.0.5)
- System.Memory (>= 4.5.5)
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
.NET Standard 2.0
- System.Text.Json (>= 8.0.5)
- System.Security.Cryptography.Cng (>= 4.5.0)
- Microsoft.CSharp (>= 4.5.0)
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.2.1)
.NET 8.0
- Microsoft.IdentityModel.Logging (>= 8.2.1)
.NET 6.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.2.1)
.NET 9.0
- Microsoft.IdentityModel.Logging (>= 8.2.1)
.NET Framework 4.7.2
- System.Text.Json (>= 8.0.5)
- System.Memory (>= 4.5.5)
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.2.1)
Version | Downloads | Last updated |
---|---|---|
8.2.1 | 2 | 11/19/2024 |
8.2.0 | 18 | 11/04/2024 |
8.1.2 | 4 | 10/10/2024 |
8.1.1 | 6 | 10/09/2024 |
8.1.0 | 2 | 10/10/2024 |
8.0.2 | 4 | 08/22/2024 |
8.0.1 | 2 | 07/23/2024 |
8.0.0 | 6 | 07/16/2024 |
8.0.0-preview1 | 4 | 06/27/2024 |
7.7.1 | 5 | 07/20/2024 |
7.7.0 | 5 | 07/20/2024 |
7.6.3 | 8 | 07/12/2024 |
7.6.2 | 5 | 06/25/2024 |
7.6.1 | 3 | 06/25/2024 |
7.6.0 | 15 | 05/28/2024 |
7.5.2 | 20 | 05/14/2024 |
7.5.1 | 10 | 04/12/2024 |
7.5.0 | 11 | 03/29/2024 |
7.4.1 | 15 | 03/17/2024 |
7.4.0 | 11 | 03/07/2024 |
7.4.0-preview1 | 6 | 02/15/2024 |
7.3.1 | 9 | 02/07/2024 |
7.3.0 | 8 | 02/07/2024 |
7.2.0 | 10 | 02/13/2024 |
7.1.2 | 7 | 02/14/2024 |
7.0.3 | 5 | 02/14/2024 |
7.0.2 | 9 | 02/14/2024 |
7.0.1 | 6 | 02/14/2024 |
7.0.0 | 7 | 02/13/2024 |
7.0.0-preview5 | 7 | 02/15/2024 |
7.0.0-preview4 | 7 | 02/09/2024 |
7.0.0-preview3 | 7 | 02/15/2024 |
7.0.0-preview2 | 5 | 02/15/2024 |
7.0.0-preview | 8 | 02/15/2024 |
6.36.0 | 4 | 07/20/2024 |
6.35.1 | 8 | 07/12/2024 |
6.35.0 | 17 | 02/14/2024 |
6.34.0 | 6 | 02/14/2024 |
6.33.0 | 8 | 02/13/2024 |
6.32.3 | 7 | 02/15/2024 |
6.32.2 | 12 | 02/14/2024 |
6.32.1 | 7 | 02/14/2024 |
6.32.0 | 8 | 02/14/2024 |
6.31.0 | 9 | 08/25/2023 |
6.30.1 | 24 | 07/15/2023 |
6.30.0 | 10 | 08/31/2023 |
6.29.0 | 7 | 08/28/2023 |
6.28.1 | 9 | 08/27/2023 |
6.27.0 | 38 | 02/20/2023 |
6.26.1 | 6 | 08/26/2023 |
6.26.0 | 10 | 08/24/2023 |
6.25.1 | 7 | 08/24/2023 |
6.25.0 | 8 | 08/30/2023 |
6.24.0 | 36 | 02/17/2023 |
6.23.1 | 8 | 08/27/2023 |
6.23.0 | 19 | 08/29/2023 |
6.22.1 | 20 | 04/02/2023 |
6.22.0 | 9 | 08/30/2023 |
6.21.0 | 19 | 08/09/2022 |
6.20.0 | 15 | 08/31/2023 |
6.19.0 | 10 | 08/28/2023 |
6.18.0 | 32 | 04/04/2023 |
6.17.0 | 7 | 08/30/2023 |
6.16.0 | 10 | 08/29/2023 |
6.15.1 | 9 | 08/31/2023 |
6.15.0 | 9 | 08/28/2023 |
6.14.1 | 9 | 08/26/2023 |
6.14.0 | 9 | 08/31/2023 |
6.13.1 | 24 | 07/23/2023 |
6.12.2 | 9 | 08/31/2023 |
6.12.1 | 9 | 08/30/2023 |
6.12.0 | 18 | 08/05/2023 |
6.11.1 | 7 | 08/30/2023 |
6.11.0 | 8 | 08/28/2023 |
6.10.2 | 25 | 03/28/2023 |
6.10.1 | 7 | 08/29/2023 |
6.10.0 | 12 | 01/26/2023 |
6.9.0 | 12 | 08/26/2023 |
6.8.0 | 86 | 01/17/2021 |
6.7.2-preview-10803222715 | 24 | 04/10/2023 |
6.7.1 | 24 | 01/27/2023 |
6.6.1-preview-10617201806 | 9 | 08/31/2023 |
6.6.0 | 23 | 08/17/2023 |
6.5.1 | 11 | 09/01/2023 |
6.5.0 | 18 | 08/25/2023 |
5.7.0 | 4 | 02/14/2024 |
5.6.0 | 12 | 06/19/2020 |
5.5.0 | 26 | 08/03/2020 |
5.4.0 | 13 | 08/27/2023 |
5.3.0 | 43 | 06/13/2020 |
5.2.4 | 16 | 08/27/2023 |
5.2.2 | 24 | 06/05/2023 |
5.2.1 | 29 | 12/27/2019 |
5.2.0 | 11 | 12/30/2020 |
5.2.0-preview2-41113220915 | 11 | 03/20/2023 |
5.1.5 | 6 | 08/25/2023 |
5.1.4 | 52 | 11/29/2019 |
5.1.3 | 9 | 08/30/2023 |
5.1.2 | 29 | 11/25/2019 |
5.0.0 | 7 | 08/27/2023 |