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 opencode@microsoft.com with any additional questions or comments.
Showing the top 20 packages that depend on Microsoft.IdentityModel.Tokens.
Packages | Downloads |
---|---|
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
67 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
59 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
59 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JWT tokens.
|
55 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
55 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
54 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
53 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
53 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
51 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
51 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
50 |
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
50 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
50 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
49 |
.NET Framework 4.6.2
- Microsoft.IdentityModel.Logging (>= 8.2.1)
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- System.Memory (>= 4.5.5)
- System.Text.Json (>= 8.0.5)
.NET Framework 4.7.2
- Microsoft.IdentityModel.Logging (>= 8.2.1)
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- System.Memory (>= 4.5.5)
- System.Text.Json (>= 8.0.5)
.NET 6.0
- Microsoft.IdentityModel.Logging (>= 8.2.1)
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
.NET 8.0
- Microsoft.IdentityModel.Logging (>= 8.2.1)
.NET 9.0
- Microsoft.IdentityModel.Logging (>= 8.2.1)
.NET Standard 2.0
- Microsoft.IdentityModel.Logging (>= 8.2.1)
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.CSharp (>= 4.5.0)
- System.Security.Cryptography.Cng (>= 4.5.0)
- System.Text.Json (>= 8.0.5)
Version | Downloads | Last updated |
---|---|---|
8.2.1 | 2 | 11/17/2024 |
8.2.0 | 0 | 11/2/2024 |
8.1.2 | 7 | 10/25/2024 |
8.1.1 | 9 | 10/6/2024 |
8.1.0 | 11 | 9/25/2024 |
8.0.2 | 10 | 8/25/2024 |
8.0.1 | 23 | 7/23/2024 |
8.0.0 | 19 | 7/16/2024 |
8.0.0-preview1 | 16 | 6/20/2024 |
7.7.1 | 18 | 7/20/2024 |
7.7.0 | 22 | 7/18/2024 |
7.6.3 | 21 | 7/10/2024 |
7.6.2 | 15 | 6/20/2024 |
7.6.1 | 14 | 6/19/2024 |
7.6.0 | 17 | 6/2/2024 |
7.5.2 | 16 | 5/15/2024 |
7.5.1 | 20 | 4/5/2024 |
7.5.0 | 19 | 3/28/2024 |
7.4.1 | 28 | 3/28/2024 |
7.4.0 | 33 | 2/29/2024 |
7.4.0-preview1 | 22 | 2/29/2024 |
7.3.1 | 36 | 2/16/2024 |
7.3.0 | 32 | 2/19/2024 |
7.2.0 | 22 | 1/15/2024 |
7.1.2 | 26 | 1/10/2024 |
7.1.0-preview | 36 | 8/2/2023 |
7.0.3 | 29 | 10/20/2023 |
7.0.2 | 29 | 9/30/2023 |
7.0.1 | 26 | 9/30/2023 |
7.0.0 | 37 | 9/15/2023 |
7.0.0-preview5 | 27 | 9/11/2023 |
7.0.0-preview4 | 39 | 9/9/2023 |
7.0.0-preview3 | 30 | 8/24/2023 |
7.0.0-preview2 | 30 | 8/24/2023 |
7.0.0-preview | 30 | 8/4/2023 |
6.36.0 | 19 | 7/19/2024 |
6.35.1 | 21 | 7/11/2024 |
6.35.0 | 25 | 1/16/2024 |
6.34.0 | 29 | 1/16/2024 |
6.33.0 | 36 | 10/4/2023 |
6.32.3 | 34 | 9/14/2023 |
6.32.2 | 31 | 9/26/2023 |
6.32.1 | 39 | 8/4/2023 |
6.32.0 | 38 | 8/4/2023 |
6.31.0 | 34 | 8/4/2023 |
6.30.1 | 33 | 5/14/2023 |
6.30.0 | 39 | 5/18/2023 |
6.29.0 | 36 | 5/18/2023 |
6.28.1 | 35 | 5/18/2023 |
6.28.0 | 41 | 9/5/2023 |
6.27.0 | 38 | 2/23/2023 |
6.26.1 | 28 | 2/24/2023 |
6.26.0 | 33 | 2/24/2023 |
6.25.1 | 43 | 12/5/2022 |
6.25.0 | 35 | 12/5/2022 |
6.24.0 | 39 | 12/5/2022 |
6.23.1 | 36 | 9/16/2022 |
6.23.0 | 38 | 1/27/2023 |
6.22.1 | 44 | 5/3/2023 |
6.22.0 | 51 | 11/14/2022 |
6.21.0 | 46 | 2/16/2023 |
6.20.0 | 39 | 6/29/2022 |
6.19.0 | 35 | 2/26/2023 |
6.18.0 | 36 | 2/26/2023 |
6.17.0 | 35 | 2/26/2023 |
6.16.0 | 35 | 2/26/2023 |
6.15.1 | 32 | 2/26/2023 |
6.15.0 | 35 | 2/26/2023 |
6.14.1 | 38 | 6/29/2022 |
6.14.0 | 40 | 6/29/2022 |
6.13.1 | 34 | 6/29/2022 |
6.12.2 | 39 | 6/29/2022 |
6.12.1 | 32 | 6/29/2022 |
6.12.0 | 41 | 1/8/2023 |
6.11.1 | 33 | 6/29/2022 |
6.11.0 | 36 | 6/29/2022 |
6.10.2 | 33 | 2/26/2023 |
6.10.1 | 40 | 6/29/2022 |
6.10.0 | 42 | 6/29/2022 |
6.9.0 | 38 | 6/29/2022 |
6.8.0 | 38 | 2/23/2023 |
6.7.2-preview-10803222715 | 44 | 11/15/2022 |
6.7.1 | 32 | 1/27/2023 |
6.6.1-preview-10617201806 | 28 | 2/26/2023 |
6.6.0 | 38 | 2/26/2023 |
6.5.1 | 32 | 1/5/2023 |
6.5.0 | 41 | 2/26/2023 |
5.7.0 | 23 | 1/15/2024 |
5.6.0 | 36 | 6/29/2022 |
5.5.0 | 46 | 6/29/2022 |
5.4.0 | 50 | 6/29/2022 |
5.3.0 | 39 | 6/29/2022 |
5.2.4 | 36 | 6/29/2022 |
5.2.2 | 35 | 6/29/2022 |
5.2.1 | 34 | 6/29/2022 |
5.1.5 | 31 | 6/29/2022 |
5.1.4 | 41 | 6/29/2022 |
5.1.3 | 49 | 6/29/2022 |
5.1.2 | 37 | 6/29/2022 |
5.0.0 | 39 | 6/29/2022 |