![]() |
VOOZH | about |
dotnet add package Microsoft.IdentityModel.Tokens.Saml --version 8.9.0
NuGet\Install-Package Microsoft.IdentityModel.Tokens.Saml -Version 8.9.0
<PackageReference Include="Microsoft.IdentityModel.Tokens.Saml" Version="8.9.0" />
<PackageVersion Include="Microsoft.IdentityModel.Tokens.Saml" Version="8.9.0" />Directory.Packages.props
<PackageReference Include="Microsoft.IdentityModel.Tokens.Saml" />Project file
paket add Microsoft.IdentityModel.Tokens.Saml --version 8.9.0
#r "nuget: Microsoft.IdentityModel.Tokens.Saml, 8.9.0"
#:package Microsoft.IdentityModel.Tokens.Saml@8.9.0
#addin nuget:?package=Microsoft.IdentityModel.Tokens.Saml&version=8.9.0Install as a Cake Addin
#tool nuget:?package=Microsoft.IdentityModel.Tokens.Saml&version=8.9.0Install as a Cake Tool
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.
You can find the release notes for each version here. Older versions can be found here.
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.
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.
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:
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.
See
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 .
All code is licensed under the MIT license and we triage actively on GitHub. We enthusiastically welcome contributions and feedback. See for guidelines, branch information, build instructions, and legalese.
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License");
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.IdentityModel.Tokens.Saml:
| Package | Downloads |
|---|---|
|
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. |
|
|
Duende.IdentityServer
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core |
|
|
Microsoft.Owin.Security.ActiveDirectory
Middleware that enables an application to use Microsoft's technology for authentication. |
Showing the top 8 popular GitHub repositories that depend on Microsoft.IdentityModel.Tokens.Saml:
| Repository | Stars |
|---|---|
|
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform. Check out the next generation of this software built on ASP.NET Core: https://github.com/OrchardCMS/OrchardCore
|
|
|
CoreWCF/CoreWCF
Main repository for the Core WCF project
|
|
|
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
|
|
|
azure-ad-b2c/samples
Azure AD B2C custom policy solutions and samples.
|
|
|
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.
|
|
|
ITfoxtec/ITfoxtec.Identity.Saml2
ITfoxtec Identity Saml2 adds SAML-P support for both Identity Provider (IdP) and Relying Party (RP) on top of the SAML 2.0 functionality implemented in the .NET framework.
|
|
|
Azure-Samples/ms-identity-aspnet-daemon-webapp
A web application that sync's data from the Microsoft Graph using the identity of the application, instead of on behalf of a user.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 8.19.1 | 96,333 | 6/3/2026 |
| 8.19.0 | 4,304 | 6/1/2026 |
| 8.18.0 | 216,141 | 4/30/2026 |
| 8.17.0 | 362,082 | 3/24/2026 |
| 8.16.0 | 160,178 | 2/13/2026 |
| 8.15.0 | 710,256 | 11/18/2025 |
| 8.14.0 | 2,953,594 | 8/15/2025 |
| 8.13.1 | 66,186 | 8/8/2025 |
| 8.13.0 | 1,795,849 | 7/21/2025 |
| 8.12.1 | 170,603 | 6/17/2025 |
| 8.12.0 | 122,095 | 6/3/2025 |
| 8.11.0 | 121,746 | 5/23/2025 |
| 8.10.0 | 69,809 | 5/15/2025 |
| 8.9.0 | 172,225 | 4/24/2025 |
| 8.8.0 | 120,728 | 4/8/2025 |
| 8.7.0 | 98,422 | 3/21/2025 |
| 8.6.1 | 150,504 | 3/7/2025 |
| 8.6.0 | 93,882 | 2/22/2025 |
| 8.5.0 | 100,242 | 2/15/2025 |
| 7.7.2 | 369 | 6/3/2026 |