Microsoft.Identity.Web.TokenAcquisition
3.5.0
Prefix Reserved
dotnet add package Microsoft.Identity.Web.TokenAcquisition --version 3.5.0
NuGet\Install-Package Microsoft.Identity.Web.TokenAcquisition -Version 3.5.0
<PackageReference Include="Microsoft.Identity.Web.TokenAcquisition" Version="3.5.0" />
paket add Microsoft.Identity.Web.TokenAcquisition --version 3.5.0
#r "nuget: Microsoft.Identity.Web.TokenAcquisition, 3.5.0"
// Install Microsoft.Identity.Web.TokenAcquisition as a Cake Addin #addin nuget:?package=Microsoft.Identity.Web.TokenAcquisition&version=3.5.0 // Install Microsoft.Identity.Web.TokenAcquisition as a Cake Tool #tool nuget:?package=Microsoft.Identity.Web.TokenAcquisition&version=3.5.0
Microsoft Identity Web
Microsoft Identity Web is a library which contains a set of reusable classes used in conjunction with ASP.NET Core for integrating with the Microsoft identity platform (formerly Azure AD v2.0 endpoint) and AAD B2C.
This library is for specific usage with:
- Web applications, which sign in users and, optionally, call web APIs
- Protected web APIs, which optionally call protected downstream web APIs
Quick links:
Conceptual documentation | Getting Started | Reference documentation | Sample Code Web App | Sample Code Web API | Support |
---|
Nuget package
Build Status
Release notes, roadmap and SLA
Release notes and roadmap
The Microsoft Identity Web roadmap is available from Roadmap in the Wiki pages, along with release notes.
Support SLA
- Major versions are supported for twelve months after the release of the next major version.
- Minor versions older than N-1 are not supported.
Minor versions are bugfixes or features with non-breaking (additive) API changes. It is expected apps can upgrade. Therefore, we will not patch old minor versions of the library. You should also confirm, in issue repros, that you are using the latest minor version before the Microsoft Identity Web team spends time investigating an issue.
Using Microsoft Identity Web
- The conceptual documentation is currently available from the Wiki pages.
- Code samples are available for web app samples and web API samples
Where do I file issues
This is the correct repo to file issues.
Community Help and Support
If you find a bug or have a feature or documentation request, please raise the issue on GitHub Issues.
We use Stack Overflow with the community to provide support, using the tags web-app
, web-api
, asp.net-core
, microsoft-identity-web
. We highly recommend you ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
To provide a recommendation, visit our User Voice page.
Contribute
We enthusiastically welcome contributions and feedback. You can clone the repo and start contributing now. Read our Contribution Guide for more information.
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.
Security Library
This library controls how users sign-in and access services. We recommend you always take the latest version of our library in your app when possible. We use semantic versioning so you can control the risk associated with updating your app. As an example, always downloading the latest minor version number (e.g. x.y.x) ensures you get the latest security and feature enhancements, but our API surface remains the same. You can always see the latest version and release notes under the Releases tab of GitHub.
Security Reporting
If you find a security issue with our libraries or services, please report it to secure@microsoft.com with as much detail as possible. Your submission may be eligible for a bounty through the Microsoft Bounty program. Please do not post security issues to GitHub Issues or any other public site. We will contact you shortly upon receiving the information. We encourage you to get notifications of when security incidents occur by visiting this page and subscribing to Security Advisory Alerts.
Trademarks.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License").
Product | Versions 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 is compatible. 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. |
.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. |
-
.NETFramework 4.6.2
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 6.0.0)
- Microsoft.Extensions.Configuration.Json (>= 3.1.0)
- Microsoft.Extensions.Http (>= 3.1.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.1.0)
- Microsoft.Identity.Abstractions (>= 7.2.0)
- Microsoft.Identity.Web.Certificate (>= 3.5.0)
- Microsoft.Identity.Web.Certificateless (>= 3.5.0)
- Microsoft.Identity.Web.TokenCache (>= 3.5.0)
- Microsoft.IdentityModel.Logging (>= 8.3.0)
- Microsoft.IdentityModel.LoggingExtensions (>= 8.3.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
-
.NETFramework 4.7.2
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 2.2.4)
- Microsoft.Extensions.Configuration.Json (>= 3.1.0)
- Microsoft.Extensions.Http (>= 3.1.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.1.0)
- Microsoft.Identity.Abstractions (>= 7.2.0)
- Microsoft.Identity.Web.Certificate (>= 3.5.0)
- Microsoft.Identity.Web.Certificateless (>= 3.5.0)
- Microsoft.Identity.Web.TokenCache (>= 3.5.0)
- Microsoft.IdentityModel.Logging (>= 8.3.0)
- Microsoft.IdentityModel.LoggingExtensions (>= 8.3.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 2.2.4)
- Microsoft.Extensions.Configuration.Json (>= 3.1.0)
- Microsoft.Extensions.Http (>= 3.1.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 2.1.0)
- Microsoft.Identity.Abstractions (>= 7.2.0)
- Microsoft.Identity.Web.Certificate (>= 3.5.0)
- Microsoft.Identity.Web.Certificateless (>= 3.5.0)
- Microsoft.Identity.Web.TokenCache (>= 3.5.0)
- Microsoft.IdentityModel.Logging (>= 8.3.0)
- Microsoft.IdentityModel.LoggingExtensions (>= 8.3.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
-
net6.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 6.0.12)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 6.0.12)
- Microsoft.Extensions.Http (>= 3.1.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
- Microsoft.Identity.Abstractions (>= 7.2.0)
- Microsoft.Identity.Web.Certificate (>= 3.5.0)
- Microsoft.Identity.Web.Certificateless (>= 3.5.0)
- Microsoft.Identity.Web.TokenCache (>= 3.5.0)
- Microsoft.IdentityModel.Logging (>= 8.3.0)
- Microsoft.IdentityModel.LoggingExtensions (>= 8.3.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.3.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
-
net7.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 7.0.1)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 7.0.1)
- Microsoft.Extensions.Http (>= 3.1.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 7.0.0)
- Microsoft.Identity.Abstractions (>= 7.2.0)
- Microsoft.Identity.Web.Certificate (>= 3.5.0)
- Microsoft.Identity.Web.Certificateless (>= 3.5.0)
- Microsoft.Identity.Web.TokenCache (>= 3.5.0)
- Microsoft.IdentityModel.Logging (>= 8.3.0)
- Microsoft.IdentityModel.LoggingExtensions (>= 8.3.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.3.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
-
net8.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 8.0.0)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 8.0.0)
- Microsoft.Extensions.Http (>= 3.1.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Identity.Abstractions (>= 7.2.0)
- Microsoft.Identity.Web.Certificate (>= 3.5.0)
- Microsoft.Identity.Web.Certificateless (>= 3.5.0)
- Microsoft.Identity.Web.TokenCache (>= 3.5.0)
- Microsoft.IdentityModel.Logging (>= 8.3.0)
- Microsoft.IdentityModel.LoggingExtensions (>= 8.3.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.3.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
-
net9.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 9.0.0)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 9.0.0)
- Microsoft.Extensions.Http (>= 3.1.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.0)
- Microsoft.Identity.Abstractions (>= 7.2.0)
- Microsoft.Identity.Web.Certificate (>= 3.5.0)
- Microsoft.Identity.Web.Certificateless (>= 3.5.0)
- Microsoft.Identity.Web.TokenCache (>= 3.5.0)
- Microsoft.IdentityModel.Logging (>= 8.3.0)
- Microsoft.IdentityModel.LoggingExtensions (>= 8.3.0)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.3.0)
- System.IdentityModel.Tokens.Jwt (>= 8.3.0)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Microsoft.Identity.Web.TokenAcquisition:
Package | Downloads |
---|---|
Microsoft.Identity.Web
This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users, and protected web APIs, which optionally call downstream web APIs. |
|
Microsoft.Identity.Web.MicrosoftGraph
This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users and call Microsoft Graph, and for protected web APIs that call Microsoft Graph. |
|
Microsoft.Identity.Web.DownstreamApi
Interface for higher level API for confidential client applications. |
|
Microsoft.Identity.Web.GraphServiceClient
This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users and call Microsoft Graph, and for protected web APIs that call Microsoft Graph. Works specifically with MS Graph SDK v5 and above. For MS Graph SDK v4 support, please use Microsoft.Identity.Web.MicrosoftGraph. |
|
Microsoft.Identity.Web.MicrosoftGraphBeta
This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users and call Microsoft Graph Beta, and for protected web APIs that call Microsoft Graph Beta. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.Identity.Web.TokenAcquisition:
Repository | Stars |
---|---|
rstropek/Samples
|
Version | Downloads | Last updated |
---|---|---|
3.5.0 | 209,278 | 12/4/2024 |
3.4.0 | 700,824 | 11/15/2024 |
3.3.1 | 587,720 | 11/2/2024 |
3.3.0 | 200,515 | 10/28/2024 |
3.2.2 | 1,209,990 | 10/9/2024 |
3.2.1 | 147,666 | 10/5/2024 |
3.2.0 | 512,277 | 9/24/2024 |
3.1.0 | 1,515,305 | 8/22/2024 |
3.0.1 | 1,712,284 | 7/23/2024 |
3.0.0 | 555,184 | 7/18/2024 |
3.0.0-preview3 | 18,022 | 6/19/2024 |
3.0.0-preview2 | 18,410 | 6/11/2024 |
3.0.0-preview1 | 39,038 | 4/29/2024 |
2.21.1 | 368,183 | 7/20/2024 |
2.21.0 | 10,412 | 7/19/2024 |
2.20.0 | 1,190,872 | 6/28/2024 |
2.19.1 | 2,330,484 | 6/10/2024 |
2.19.0 | 751,239 | 5/29/2024 |
2.18.2 | 666,878 | 5/21/2024 |
2.18.1 | 1,549,714 | 4/25/2024 |
2.18.0 | 305,342 | 4/22/2024 |
2.17.5 | 696,283 | 4/16/2024 |
2.17.4 | 1,658,992 | 3/29/2024 |
2.17.3 | 160,313 | 3/27/2024 |
2.17.2 | 899,882 | 3/14/2024 |
2.17.1 | 1,471,243 | 2/27/2024 |
2.17.0 | 1,800,580 | 2/5/2024 |
2.16.1 | 2,462,931 | 1/9/2024 |
2.16.0 | 2,649,493 | 11/27/2023 |
2.15.5 | 1,806,439 | 11/20/2023 |
2.15.3 | 1,797,705 | 10/22/2023 |
2.15.2 | 623,312 | 10/18/2023 |
2.15.1 | 538,703 | 10/5/2023 |
2.14.0 | 604,344 | 9/26/2023 |
2.13.4 | 961,180 | 9/8/2023 |
2.13.3 | 1,116,915 | 8/17/2023 |
2.13.2 | 1,205,626 | 7/31/2023 |
2.13.1 | 344,807 | 7/25/2023 |
2.13.0 | 549,961 | 7/14/2023 |
2.12.4 | 1,652,110 | 6/18/2023 |
2.12.2 | 170,167 | 6/15/2023 |
2.11.1 | 625,825 | 6/6/2023 |
2.11.0 | 1,315,223 | 5/15/2023 |
2.10.0 | 549,180 | 5/5/2023 |
2.9.0 | 1,150,000 | 4/15/2023 |
2.8.0 | 32,496 | 4/14/2023 |
2.7.0 | 721,999 | 3/30/2023 |
2.6.1 | 444,179 | 3/23/2023 |
2.5.0 | 2,724,126 | 2/27/2023 |
2.0.8-preview | 83,471 | 12/16/2022 |
2.0.7-preview | 26,916 | 12/2/2022 |
2.0.6-preview | 27,590 | 11/20/2022 |
2.0.5-preview | 15,957 | 11/7/2022 |
2.0.4-preview | 2,218 | 10/27/2022 |
2.0.3-preview | 22,560 | 10/19/2022 |
2.0.2-preview | 6,206 | 10/9/2022 |
2.0.0-preview | 20,175 | 9/20/2022 |
The release notes are available at https://github.com/AzureAD/microsoft-identity-web/releases and the roadmap at https://github.com/AzureAD/microsoft-identity-web/wiki#roadmap