Microsoft.IdentityModel.Xml 8.11.0

Prefix Reserved
dotnet add package Microsoft.IdentityModel.Xml --version 8.11.0
                    
NuGet\Install-Package Microsoft.IdentityModel.Xml -Version 8.11.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.IdentityModel.Xml" Version="8.11.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.IdentityModel.Xml" Version="8.11.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.IdentityModel.Xml" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.IdentityModel.Xml --version 8.11.0
                    
#r "nuget: Microsoft.IdentityModel.Xml, 8.11.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.IdentityModel.Xml&version=8.11.0
                    
Install Microsoft.IdentityModel.Xml as a Cake Addin
#tool nuget:?package=Microsoft.IdentityModel.Xml&version=8.11.0
                    
Install Microsoft.IdentityModel.Xml as a Cake Tool

IdentityModel Extensions for .NET

Nuget

The IdentityModel Extensions for .NET library provides robust tools to enhance authentication and authorization workflows in your .NET applications. Backed by the Entra team, this library simplifies working with OpenID Connect (OIDC), OAuth2.0, and JSON Web Tokens (JWT) in .NET.

Whether you're building secure APIs, implementing token validation, or managing claims, this library is designed to handle the heavy lifting for you.

Why IdentityModel?

  • Widely Adopted: Trusted by thousands of developers to integrate OIDC and OAuth2.0 standards.
  • Secure by Design: Built with security as a priority to reduce common vulnerabilities.
  • Extensible: Easily extend or customize for advanced use cases.
  • Battle hardened: Validates 5+ trillion requests daily, and growing.

Versions

You can find the release notes for each version here. Older versions can be found here.

Version Lifecycle and Support Matrix

See Long Term Support policy for details.

Major Version Currently Supported Version Status
8.x from 8.0.1 to Nuget Active (Current) - Tied to .NET 9 (STS) & 10 (LTS) ~ Nov, 2028
7.x 7.7.1 Supported (LTS) through .NET 8 LTS lifetime Nov 10, 2026.<br/>⚠️Versions < 7.7.1 not supported.
5.x 5.7.0 Supported (LTS), tied to the Microsoft.Owin.Security.JWT 4.2.2 lifetime.<br/>⚠️Versions < 5.7.0 not supported.

IdentityModel 8.x

Version 8.x introduces significant updates and improvements:

  • Enhanced Performance: Optimized token validation to handle high-throughput scenarios.
  • .NET Compatibility: Fully compatible with .NET 9.

🧭LTS: Supported through .NET 9 LTS lifetime: May 12, 2026 + .NET 10 LTS (~3 years).

IdentityModel 7.x

IdentityModel 7x introduced several improvements related to serialization and consistency in the API, which provide a better user experience for developers, as well as full AOT compatibility on .NET, and considerable performance improvements compared to IdentityModel 6x.

🧭LTS: Supported through .NET 8 LTS lifetime: Nov 10, 2026.

⚡Recommendation: Move to 8.x.

IdentityModel 6.x

🧭Deprecated: Support ended with .NET 7 LTS lifetime: May 2024.

⚡Action: Move to 8.x.

IdentityModel 5.x

Not a recommended version

🧭LTS: Supported for Microsoft.Owin.Security.JWT

⚡Action: Move to 8.x.

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

Report a bug or request a feature directly in the GitHub repo.

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.

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

Security Reporting

See SECURITY.md

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 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.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (21)

Showing the top 5 NuGet packages that depend on Microsoft.IdentityModel.Xml:

Package Downloads
Microsoft.IdentityModel.Tokens.Saml

Includes types that provide support for SamlTokens version 1 and 2.

Microsoft.IdentityModel.Protocols.WsFederation

Includes types that provide support for WsFederation protocol.

System.ServiceModel.Federation

System.ServiceModel.Federation

Microsoft.IdentityModel.Protocols.WsTrust

Includes types that provide support for creating, serializing and validating WsTrust Messages.

Microsoft.Owin.Security.ActiveDirectory

Middleware that enables an application to use Microsoft's technology for authentication.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Microsoft.IdentityModel.Xml:

Repository Stars
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
dotnet/wcf
This repo contains the client-oriented WCF libraries that enable applications built on .NET Core to communicate with WCF services.
aspnet/AspNetKatana
Microsoft's OWIN implementation, the Katana project
microsoft/data-accelerator
Data Accelerator for Apache Spark simplifies onboarding to Streaming of Big Data. It offers a rich, easy to use experience to help with creation, editing and management of Spark jobs on Azure HDInsights or Databricks while enabling the full power of the Spark engine.
Version Downloads Last updated
8.11.0 206 5/23/2025
8.10.0 3,922 5/15/2025
8.9.0 19,884 4/24/2025
8.8.0 22,834 4/8/2025
8.7.0 26,746 3/21/2025
8.6.1 31,425 3/7/2025
8.6.0 20,802 2/22/2025
8.5.0 26,204 2/15/2025
8.4.0 26,551 2/7/2025
8.3.1 83,436 1/17/2025
8.3.0 372,046 12/4/2024
8.2.1 244,854 11/15/2024
8.2.0 1,909,076 11/2/2024
8.1.2 116,436 10/8/2024
8.1.1 7,899 10/5/2024
8.0.1 162,450 7/23/2024
8.0.0 26,480 7/16/2024 8.0.0 is deprecated because it is no longer maintained.
8.0.0-preview1 742 6/19/2024 8.0.0-preview1 is deprecated because it is no longer maintained.
7.7.1 35,299 7/20/2024
7.7.0 1,175 7/18/2024 7.7.0 is deprecated because it is no longer maintained.
7.6.3 33,037 7/10/2024 7.6.3 is deprecated because it is no longer maintained.
7.6.2 252,809 6/20/2024 7.6.2 is deprecated because it is no longer maintained.
7.6.1 46,895 6/17/2024 7.6.1 is deprecated because it is no longer maintained.
7.6.0 592,544 5/28/2024 7.6.0 is deprecated because it is no longer maintained.
7.5.2 44,798 5/13/2024 7.5.2 is deprecated because it is no longer maintained.
7.5.1 372,792 4/5/2024 7.5.1 is deprecated because it is no longer maintained.
7.5.0 34,950 3/27/2024 7.5.0 is deprecated because it is no longer maintained.
7.4.1 32,914 3/15/2024 7.4.1 is deprecated because it is no longer maintained.
7.4.0 45,025 2/26/2024 7.4.0 is deprecated because it is no longer maintained.
7.4.0-preview1 725 2/12/2024 7.4.0-preview1 is deprecated because it is no longer maintained.
7.3.1 189,307 2/3/2024 7.3.1 is deprecated because it is no longer maintained.
7.3.0 22,975 1/30/2024 7.3.0 is deprecated because it is no longer maintained.
7.2.0 315,792 1/10/2024 7.2.0 is deprecated because it is no longer maintained.
7.1.2 950,857 1/9/2024 7.1.2 is deprecated because it is no longer maintained.
7.0.3 1,001,051 10/17/2023 7.0.3 is deprecated because it is no longer maintained.
7.0.2 59,659 9/29/2023 7.0.2 is deprecated because it is no longer maintained.
7.0.1 4,458 9/27/2023 7.0.1 is deprecated because it is no longer maintained.
7.0.0 48,107 9/11/2023 7.0.0 is deprecated because it is no longer maintained.
7.0.0-preview5 1,237 9/6/2023 7.0.0-preview5 is deprecated because it is no longer maintained.
7.0.0-preview4 1,246 8/29/2023 7.0.0-preview4 is deprecated because it is no longer maintained.
7.0.0-preview3 1,309 8/21/2023 7.0.0-preview3 is deprecated because it is no longer maintained.
7.0.0-preview2 1,264 8/13/2023 7.0.0-preview2 is deprecated because it is no longer maintained.
7.0.0-preview 1,800 7/11/2023 7.0.0-preview is deprecated because it is no longer maintained.
6.36.0 48,892 7/19/2024 6.36.0 is deprecated because it is no longer maintained.
6.35.1 755,485 7/11/2024 6.35.1 is deprecated because it is no longer maintained.
6.35.0 869,101 1/9/2024 6.35.0 is deprecated because it is no longer maintained.
6.34.0 67,746 10/17/2023 6.34.0 is deprecated because it is no longer maintained.
6.33.0 28,158 10/3/2023 6.33.0 is deprecated because it is no longer maintained.
6.32.3 20,372 9/5/2023 6.32.3 is deprecated because it is no longer maintained.
6.32.2 28,999 8/26/2023 6.32.2 is deprecated because it is no longer maintained.
6.32.1 74,326 7/28/2023 6.32.1 is deprecated because it is no longer maintained.
6.32.0 44,366 7/12/2023 6.32.0 is deprecated because it is no longer maintained.
6.31.0 99,452 6/8/2023 6.31.0 is deprecated because it is no longer maintained.
6.30.1 121,843 5/10/2023 6.30.1 is deprecated because it is no longer maintained.
6.30.0 53,501 4/26/2023 6.30.0 is deprecated because it is no longer maintained.
6.29.0 41,798 4/14/2023 6.29.0 is deprecated because it is no longer maintained.
6.28.1 650,167 4/3/2023 6.28.1 is deprecated because it is no longer maintained.
6.27.0 168,567 2/16/2023 6.27.0 is deprecated because it is no longer maintained.
6.26.1 38,556 2/7/2023 6.26.1 is deprecated because it is no longer maintained.
6.26.0 86,351 1/20/2023 6.26.0 is deprecated because it is no longer maintained.
6.25.1 240,506 12/1/2022 6.25.1 is deprecated because it is no longer maintained.
6.25.0 251,222 10/27/2022 6.25.0 is deprecated because it is no longer maintained.
6.24.0 332,660 10/13/2022 6.24.0 is deprecated because it is no longer maintained.
6.23.1 3,062,902 9/8/2022 6.23.1 is deprecated because it is no longer maintained.
6.23.0 6,336 9/6/2022 6.23.0 is deprecated because it is no longer maintained.
6.22.1 68,240 8/25/2022 6.22.1 is deprecated because it is no longer maintained.
6.22.0 97,742 7/27/2022 6.22.0 is deprecated because it is no longer maintained.
6.21.0 163,747 7/1/2022 6.21.0 is deprecated because it is no longer maintained.
6.20.0 27,801 6/21/2022 6.20.0 is deprecated because it is no longer maintained.
6.19.0 175,673 6/6/2022 6.19.0 is deprecated because it is no longer maintained.
6.18.0 58,886 5/19/2022 6.18.0 is deprecated because it is no longer maintained.
6.17.0 836,976 4/6/2022 6.17.0 is deprecated because it is no longer maintained.
6.16.0 169,443 2/18/2022 6.16.0 is deprecated because it is no longer maintained.
6.15.1 2,069,252 1/20/2022 6.15.1 is deprecated because it is no longer maintained.
6.15.0 141,083 12/3/2021 6.15.0 is deprecated because it is no longer maintained.
6.14.1 79,965 11/4/2021 6.14.1 is deprecated because it is no longer maintained.
6.14.0 25,566 10/29/2021 6.14.0 is deprecated because it is no longer maintained.
6.13.1 55,988 10/7/2021 6.13.1 is deprecated because it is no longer maintained.
6.12.2 359,324 8/20/2021 6.12.2 is deprecated because it is no longer maintained.
6.12.1 152,161 8/13/2021 6.12.1 is deprecated because it is no longer maintained.
6.12.0 111,967 7/21/2021 6.12.0 is deprecated because it is no longer maintained.
6.11.1 113,185 5/21/2021 6.11.1 is deprecated because it is no longer maintained.
6.11.0 120,490 4/27/2021 6.11.0 is deprecated because it is no longer maintained.
6.10.2 44,654 4/15/2021 6.10.2 is deprecated because it is no longer maintained.
6.10.1 15,846 4/12/2021 6.10.1 is deprecated because it is no longer maintained.
6.10.0 2,045,226 3/30/2021 6.10.0 is deprecated because it is no longer maintained.
6.9.0 46,208 3/16/2021 6.9.0 is deprecated because it is no longer maintained.
6.8.0 32,819,094 10/13/2020 6.8.0 is deprecated because it is no longer maintained.
6.7.2-preview-10803222715 5,331 8/4/2020 6.7.2-preview-10803222715 is deprecated because it is no longer maintained.
6.7.1 1,284,631 6/30/2020 6.7.1 is deprecated because it is no longer maintained.
6.6.1-preview-10617201806 1,921 7/10/2020 6.6.1-preview-10617201806 is deprecated because it is no longer maintained.
6.6.0 270,986 5/22/2020 6.6.0 is deprecated because it is no longer maintained.
6.5.1 112,635 4/28/2020 6.5.1 is deprecated because it is no longer maintained.
6.5.0 208,880 3/24/2020 6.5.0 is deprecated because it is no longer maintained.
5.7.0 147,070 1/9/2024
5.6.0 1,369,031 10/19/2019 5.6.0 is deprecated because it is no longer maintained.
5.5.0 4,160,082 6/24/2019 5.5.0 is deprecated because it is no longer maintained.
5.4.0 1,469,672 1/23/2019 5.4.0 is deprecated because it is no longer maintained.
5.3.0 18,706,170 10/5/2018 5.3.0 is deprecated because it is no longer maintained.
5.2.4 9,228,355 6/19/2018 5.2.4 is deprecated because it is no longer maintained.
5.2.2 987,272 4/24/2018 5.2.2 is deprecated because it is no longer maintained.
5.2.1 877,624 2/8/2018 5.2.1 is deprecated because it is no longer maintained.