Microsoft.IdentityModel.Tokens 8.0.2

IdentityModel Extensions for .NET

Nuget

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:

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.
35
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
38
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
40
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
41
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
51
Microsoft.IdentityModel.JsonWebTokens
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
70
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.
67
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
49
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
72
Microsoft.IdentityModel.Protocols
Provides base protocol support for OpenIdConnect and WsFederation.
89
Microsoft.IdentityModel.Tokens.Saml
Includes types that provide support for SamlTokens version 1 and 2.
37
Microsoft.IdentityModel.Tokens.Saml
Includes types that provide support for SamlTokens version 1 and 2.
58
Microsoft.IdentityModel.Xml
Includes types that provide support for Reading / Writing XML with Enveloped Signatures.
35
Microsoft.IdentityModel.Xml
Includes types that provide support for Reading / Writing XML with Enveloped Signatures.
62
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
41
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
57
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens.
78
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.
92
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JWT tokens.
35

Version Downloads Last updated
8.2.0 2 11/06/2024
8.1.2 3 10/18/2024
8.1.1 4 10/21/2024
8.0.2 1 11/10/2024
8.0.1 24 08/04/2024
8.0.0 27 07/22/2024
8.0.0-preview1 25 07/22/2024
7.7.1 23 07/22/2024
7.7.0 29 07/22/2024
7.6.3 27 07/22/2024
7.6.2 28 07/22/2024
7.6.1 24 07/22/2024
7.6.0 20 07/22/2024
7.5.2 26 07/22/2024
7.5.1 24 07/22/2024
7.5.0 30 07/22/2024
7.4.1 26 07/22/2024
7.4.0 31 07/22/2024
7.4.0-preview1 23 07/22/2024
7.3.1 29 07/22/2024
7.3.0 25 07/22/2024
7.2.0 26 07/22/2024
7.1.2 65 02/04/2024
7.0.3 35 02/13/2024
7.0.2 30 07/22/2024
7.0.1 22 07/22/2024
7.0.0 29 07/22/2024
7.0.0-preview5 28 07/22/2024
7.0.0-preview4 23 07/22/2024
7.0.0-preview3 27 07/22/2024
7.0.0-preview2 25 07/22/2024
7.0.0-preview 32 07/22/2024
6.36.0 20 07/22/2024
6.35.1 28 07/22/2024
6.35.0 25 06/24/2024
6.34.0 27 07/22/2024
6.33.0 25 07/22/2024
6.32.3 21 07/22/2024
6.32.2 31 07/22/2024
6.32.1 20 07/22/2024
6.32.0 30 07/22/2024
6.31.0 33 07/22/2024
6.30.1 24 07/22/2024
6.30.0 27 07/22/2024
6.29.0 29 07/22/2024
6.28.1 23 07/22/2024
6.27.0 22 07/22/2024
6.26.1 25 07/22/2024
6.26.0 26 07/22/2024
6.25.1 20 07/22/2024
6.25.0 21 07/22/2024
6.24.0 32 07/14/2024
6.23.1 22 07/22/2024
6.23.0 18 07/22/2024
6.22.1 19 07/22/2024
6.22.0 23 07/22/2024
6.21.0 41 02/19/2024
6.20.0 17 07/22/2024
6.19.0 31 07/22/2024
6.18.0 20 07/22/2024
6.17.0 19 07/22/2024
6.16.0 26 07/22/2024
6.15.1 73 02/04/2024
6.15.0 19 07/22/2024
6.14.1 23 07/22/2024
6.14.0 17 07/22/2024
6.13.1 24 07/22/2024
6.12.2 26 07/22/2024
6.12.1 26 07/22/2024
6.12.0 25 07/22/2024
6.11.1 18 07/22/2024
6.11.0 28 07/22/2024
6.10.2 23 07/22/2024
6.10.1 22 07/22/2024
6.10.0 54 02/04/2024
6.9.0 24 07/22/2024
6.8.0 63 02/04/2024
6.7.2-preview-10803222715 34 07/22/2024
6.7.1 21 07/22/2024
6.6.1-preview-10617201806 33 07/22/2024
6.6.0 31 07/22/2024
6.5.1 25 07/22/2024
6.5.0 26 07/22/2024
5.7.0 32 07/22/2024
5.6.0 23 07/22/2024
5.5.0 35 07/22/2024
5.4.0 17 07/22/2024
5.3.0 36 07/22/2024
5.2.4 24 07/22/2024
5.2.2 20 07/22/2024
5.2.1 28 07/22/2024
5.1.5 23 07/22/2024
5.1.4 27 07/22/2024
5.1.3 25 07/22/2024
5.1.2 29 07/22/2024
5.0.0 31 07/22/2024