Microsoft.IdentityModel.Abstractions 8.0.2

Prefix Reserved
dotnet add package Microsoft.IdentityModel.Abstractions --version 8.0.2                
NuGet\Install-Package Microsoft.IdentityModel.Abstractions -Version 8.0.2                
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.Abstractions" Version="8.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.IdentityModel.Abstractions --version 8.0.2                
#r "nuget: Microsoft.IdentityModel.Abstractions, 8.0.2"                
#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.
// Install Microsoft.IdentityModel.Abstractions as a Cake Addin
#addin nuget:?package=Microsoft.IdentityModel.Abstractions&version=8.0.2

// Install Microsoft.IdentityModel.Abstractions as a Cake Tool
#tool nuget:?package=Microsoft.IdentityModel.Abstractions&version=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.

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. 
.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.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (37)

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

Package Downloads
Microsoft.IdentityModel.Logging

Includes Event Source based logging support.

Microsoft.Identity.Client

This package contains the binaries of the Microsoft Authentication Library for .NET (MSAL.NET). MSAL.NET makes it easy to obtain tokens from the Microsoft identity platform for developers (formerly Azure AD v2.0) signing-in users with work & school accounts, Microsoft personal accounts, and social identities via Azure AD B2C. These tokens provide access to Microsoft Cloud API and any other API secured by the Microsoft identity platform. This version supports adding authentication functionality to your .NET based clients - .NET, .NET Framework, .NET MAUI

Microsoft.IdentityModel.LoggingExtensions

A package containing logging extensions to support writing Identity logs to Microsoft.Extensions.Logging.ILogger.

GSF.Security

Library of core security framework for implementing role-based security with integrated Active Directory, local account and database style authentication across various .NET application types.

GSF.Web

Library of ASP.NET web forms extensions, embedded resource hosting and HTTP Module for implementing role-based security.

GitHub repositories (30)

Showing the top 5 popular GitHub repositories that depend on Microsoft.IdentityModel.Abstractions:

Repository Stars
chocolatey/choco
Chocolatey - the package manager for Windows
microsoft/perfview
PerfView is a CPU and memory performance-analysis tool
microsoft/PowerApps-Samples
Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.
WireMock-Net/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
AzureAD/microsoft-authentication-library-for-dotnet
Microsoft Authentication Library (MSAL) for .NET
Version Downloads Last updated
8.0.2 370,873 8/22/2024
8.0.1 1,974,754 7/23/2024
8.0.0 550,371 7/16/2024
8.0.0-preview1 47,510 6/19/2024
7.7.1 244,785 7/20/2024
7.7.0 14,068 7/18/2024
7.6.3 902,398 7/10/2024
7.6.2 1,898,910 6/20/2024
7.6.1 455,066 6/17/2024
7.6.0 6,261,773 5/28/2024
7.5.2 2,453,595 5/13/2024
7.5.1 7,404,170 4/5/2024
7.5.0 3,606,111 3/27/2024
7.4.1 3,073,256 3/15/2024
7.4.0 5,164,338 2/26/2024
7.4.0-preview1 15,821 2/12/2024
7.3.1 8,444,067 2/3/2024
7.3.0 1,245,409 1/30/2024
7.2.0 8,803,647 1/10/2024
7.1.2 31,585,490 1/9/2024
7.0.3 18,252,745 10/17/2023
7.0.2 1,418,282 9/29/2023
7.0.1 249,000 9/27/2023
7.0.0 4,628,966 9/11/2023
7.0.0-preview5 151,553 9/6/2023
7.0.0-preview4 10,576 8/29/2023
7.0.0-preview3 22,498 8/21/2023
7.0.0-preview2 12,288 8/13/2023
7.0.0-preview 149,561 7/11/2023
6.36.0 130,113 7/19/2024
6.35.1 75,672 7/11/2024
6.35.0 63,732,608 1/9/2024
6.34.0 8,834,440 10/17/2023
6.33.0 7,821,926 10/3/2023
6.32.3 3,059,437 9/5/2023
6.32.2 2,728,605 8/26/2023
6.32.1 4,518,683 7/28/2023
6.32.0 7,008,051 7/12/2023
6.31.0 6,757,264 6/8/2023
6.30.1 6,515,360 5/10/2023
6.30.0 6,824,393 4/26/2023
6.29.0 4,425,715 4/14/2023
6.28.1 3,116,317 4/3/2023
6.27.0 13,017,345 2/16/2023
6.26.1 6,600,542 2/7/2023
6.26.0 4,189,130 1/20/2023
6.25.1 25,867,523 12/1/2022
6.25.0 10,947,408 10/27/2022
6.24.0 67,032,357 10/13/2022
6.23.1 20,833,735 9/8/2022
6.23.0 744,141 9/6/2022
6.22.1 3,522,780 8/25/2022
6.22.0 176,168,338 7/27/2022
6.21.0 64,816,433 7/1/2022
6.20.0 7,914,419 6/21/2022
6.19.0 19,374,693 6/6/2022
6.18.0 84,311,898 5/19/2022