Microsoft.IdentityModel.Tokens 8.2.0
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 |
---|---|
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
12 |
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
22 |
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
37 |
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
192 |
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.
|
15 |
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.
|
17 |
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.
|
232 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
14 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
22 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
37 |
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
|
257 |
Microsoft.IdentityModel.Validators
Includes types that provide token validators.
|
19 |
Microsoft.IdentityModel.Xml
Includes types that provide support for Reading / Writing XML with Enveloped Signatures.
|
12 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
21 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
39 |
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
|
190 |
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.
|
12 |
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.
|
19 |
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.
|
251 |
.NET Framework 4.6.2
- Microsoft.IdentityModel.Logging (>= 8.2.0)
- 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.0)
.NET 9.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.2.0)
.NET 8.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Logging (>= 8.2.0)
.NET 6.0
- Microsoft.IdentityModel.Logging (>= 8.2.0)
- Microsoft.Bcl.TimeProvider (>= 8.0.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.0)
Version | Downloads | Last updated |
---|---|---|
8.2.0 | 1 | 11/09/2024 |
8.1.2 | 0 | 10/08/2024 |
8.1.1 | 2 | 11/11/2024 |
8.0.1 | 0 | 07/23/2024 |
8.0.0 | 1 | 11/12/2024 |
8.0.0-preview1 | 0 | 06/19/2024 |
7.7.1 | 0 | 07/20/2024 |
7.7.0 | 0 | 07/18/2024 |
7.6.3 | 0 | 07/10/2024 |
7.6.2 | 0 | 06/20/2024 |
7.6.1 | 0 | 06/17/2024 |
7.6.0 | 0 | 05/28/2024 |
7.5.2 | 213 | 05/18/2024 |
7.5.1 | 5 | 04/24/2024 |
7.5.0 | 5 | 05/08/2024 |
7.4.1 | 17 | 03/21/2024 |
7.4.0 | 4 | 05/15/2024 |
7.4.0-preview1 | 4 | 05/26/2024 |
7.3.1 | 5 | 05/17/2024 |
7.3.0 | 9 | 02/04/2024 |
7.2.0 | 7 | 01/28/2024 |
7.1.2 | 6 | 05/01/2024 |
7.0.3 | 11 | 04/24/2024 |
7.0.2 | 2 | 05/26/2024 |
7.0.1 | 4 | 05/26/2024 |
7.0.0 | 10 | 05/26/2024 |
7.0.0-preview5 | 2 | 05/26/2024 |
7.0.0-preview4 | 7 | 04/28/2024 |
7.0.0-preview3 | 7 | 05/26/2024 |
7.0.0-preview2 | 5 | 04/28/2024 |
7.0.0-preview | 11 | 05/04/2024 |
6.36.0 | 1 | 11/12/2024 |
6.35.1 | 0 | 07/11/2024 |
6.35.0 | 189 | 05/02/2024 |
6.34.0 | 5 | 05/02/2024 |
6.33.0 | 9 | 04/24/2024 |
6.32.3 | 22 | 09/12/2023 |
6.32.2 | 6 | 05/04/2024 |
6.32.1 | 5 | 04/29/2024 |
6.32.0 | 7 | 05/20/2024 |
6.31.0 | 6 | 06/16/2023 |
6.30.1 | 8 | 06/03/2023 |
6.30.0 | 6 | 05/02/2024 |
6.29.0 | 7 | 05/26/2024 |
6.28.1 | 39 | 04/13/2023 |
6.27.0 | 3 | 05/26/2024 |
6.26.1 | 3 | 05/26/2024 |
6.26.0 | 5 | 05/26/2024 |
6.25.1 | 6 | 05/16/2024 |
6.25.0 | 6 | 03/03/2023 |
6.24.0 | 6 | 01/04/2023 |
6.23.1 | 5 | 05/10/2024 |
6.23.0 | 5 | 05/26/2024 |
6.22.1 | 0 | 08/25/2022 |
6.22.0 | 5 | 05/26/2024 |
6.20.0 | 10 | 11/29/2022 |
6.19.0 | 4 | 05/26/2024 |
6.11.0 | 5 | 05/16/2024 |
6.10.2 | 3 | 05/26/2024 |
6.9.0 | 6 | 05/26/2024 |
6.7.2-preview-10803222715 | 3 | 05/26/2024 |
6.7.1 | 4 | 05/20/2024 |
6.6.1-preview-10617201806 | 4 | 05/26/2024 |
6.6.0 | 6 | 05/28/2024 |
5.7.0 | 6 | 05/02/2024 |
5.2.1 | 5 | 05/21/2024 |
5.2.0 | 6 | 02/03/2023 |
5.1.5 | 3 | 05/05/2024 |
5.1.4 | 6 | 04/25/2023 |
5.1.3 | 3 | 05/13/2024 |
5.0.0 | 4 | 05/02/2024 |