Microsoft.Identity.Client
4.66.2
Prefix Reserved
dotnet add package Microsoft.Identity.Client --version 4.66.2
NuGet\Install-Package Microsoft.Identity.Client -Version 4.66.2
<PackageReference Include="Microsoft.Identity.Client" Version="4.66.2" />
paket add Microsoft.Identity.Client --version 4.66.2
#r "nuget: Microsoft.Identity.Client, 4.66.2"
// Install Microsoft.Identity.Client as a Cake Addin #addin nuget:?package=Microsoft.Identity.Client&version=4.66.2 // Install Microsoft.Identity.Client as a Cake Tool #tool nuget:?package=Microsoft.Identity.Client&version=4.66.2
Microsoft Authentication Library (MSAL) for .NET
The MSAL library for .NET is part of the Microsoft identity platform for developers (formerly named Azure AD) v2.0. It enables you to acquire security tokens to call protected APIs. It uses industry standard OAuth2 and OpenID Connect. The library also supports Azure AD B2C.
Quick links:
Conceptual documentation | Getting Started | Sample Code | API Reference | Support | Feedback |
---|
Performance perspectives
Our documentation describes the approach to performance testing.
View some of the historical performance benchmark results in our dashboard.
Support SLA
MSAL.NET became Generally Available with MSAL.NET 3.0.8. Since MSAL.NET moved to version 4:
- Major versions are supported for twelve months after the release of the next major version.
- Minor versions older than N-1 are not supported.
Note Minor versions include bug fixes or features with non-breaking (additive) API changes. It is expected that applications using the library can upgrade through the IDE or CLI with no friction. We will not patch old minor versions of the library. When opening new issues, please confirm that you are using the latest minor version.
Using MSAL.NET
- Guides, tutorials, and detailed walkthroughs are available on Microsoft Learn.
- API documentation is available on Microsoft Learn
- Code samples are available from our Samples page.
Where do I file issues
You can file new issues in this repository.
Community help and support
We use Stack Overflow with the community to provide support. We highly recommend you ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
If you find a bug or have a feature request, please raise the issue on GitHub Issues.
Contribute
We welcome contributions and feedback. You can fork and 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 [email protected] 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.z) 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 [email protected] in as much detail as possible. Your submission may be eligible for a bounty through the Microsoft Bug Bounty program. Please do not post security issues to GitHub Issues or any other public site. We will contact you shortly after receiving the information. We encourage you to get notifications of when security incidents occur by visiting the Microsoft Technical Security Notifications page and subscribing to Security Advisory Alerts.
Data collection
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
See the our telemetry documentation for an example of the telemetry collected by MSAL.NET.
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 © 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-android31.0 is compatible. net6.0-ios was computed. net6.0-ios15.4 is compatible. 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 was computed. 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. |
-
.NETFramework 4.6.2
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
-
.NETFramework 4.7.2
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
-
.NETStandard 2.0
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
-
net6.0
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
-
net6.0-android31.0
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Security.SecureString (>= 4.3.0)
-
net6.0-ios15.4
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
- System.Security.SecureString (>= 4.3.0)
NuGet packages (401)
Showing the top 5 NuGet packages that depend on Microsoft.Identity.Client:
Package | Downloads |
---|---|
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity |
|
Microsoft.Identity.Client.Extensions.Msal
This package contains the public client (desktop) caching to Microsoft Authentication Library for .NET (MSAL.NET) |
|
Microsoft.Identity.Web.TokenCache
This package bring token cache serializers for MSAL.NET confidential client applications. |
|
Microsoft.Identity.Web.Certificateless
This package brings certificateless authentication. |
|
Microsoft.Graph.Auth
Microsoft Graph Authentication Library implements authentication functionality used by Microsoft Graph Client Library. It provides a set of OAuth scenario-centric providers that implement Microsoft.Graph.IAuthenticationProvider and uses Microsoft Authentication Library (MSAL) to handle access token acquisition and storage. |
GitHub repositories (115)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Identity.Client:
Repository | Stars |
---|---|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
nopSolutions/nopCommerce
ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
git-ecosystem/git-credential-manager
Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
|
Version | Downloads | Last updated | |
---|---|---|---|
4.66.2 | 20,539 | 11/11/2024 | |
4.66.1 | 1,324,892 | 10/22/2024 | |
4.66.0 | 95,033 | 10/18/2024 | |
4.65.3-preview | 3,668 | 10/2/2024 | |
4.65.0 | 4,001,155 | 9/25/2024 | |
4.64.2-preview | 3,081 | 9/17/2024 | |
4.64.1 | 824,084 | 9/12/2024 | |
4.64.0 | 977,647 | 8/24/2024 | |
4.63.0 | 990,910 | 8/6/2024 | |
4.62.0 | 934,054 | 7/22/2024 | |
4.62.0-preview | 2,247 | 7/16/2024 | |
4.61.3 | 39,573,894 | 6/6/2024 | |
4.61.2 | 142,308 | 6/3/2024 | |
4.61.1 | 479,228 | 5/22/2024 | |
4.61.0 | 716,163 | 5/9/2024 | |
4.60.4 | 249,799 | 6/19/2024 | |
4.60.3 | 22,507,036 | 4/16/2024 | |
4.60.2 | 218,858 | 4/9/2024 | |
4.60.1 | 8,679,821 | 4/2/2024 | |
4.60.0 | 127,748 | 3/27/2024 | |
4.59.1 | 793,438 | 4/16/2024 | |
4.59.0 | 8,591,232 | 1/17/2024 | |
4.58.1 | 1,413,150 | 12/8/2023 | |
4.58.0 | 584,787 | 11/29/2023 | |
4.57.0 | 10,182,594 | 10/18/2023 | |
4.56.0 | 104,017,870 | 9/6/2023 | |
4.55.0 | 4,577,026 | 7/24/2023 | |
4.54.1 | 24,374,984 | 5/24/2023 | |
4.54.0 | 1,704,695 | 5/11/2023 | |
4.53.0 | 4,431,292 | 4/14/2023 | |
4.52.0 | 1,607,825 | 3/31/2023 | |
4.51.0 | 2,471,203 | 3/16/2023 | |
4.50.0 | 3,911,947 | 2/13/2023 | |
4.49.1 | 37,509,756 | 12/20/2022 | |
4.48.1 | 7,118,477 | 11/15/2022 | |
4.48.0 | 2,113,985 | 11/2/2022 | |
4.47.2 | 66,257,672 | 10/4/2022 | |
4.47.1 | 1,531,972 | 9/21/2022 | |
4.47.0 | 1,647,580 | 9/16/2022 | |
4.46.2 | 1,122,266 | 8/29/2022 | |
4.46.1 | 3,666,816 | 8/17/2022 | |
4.46.0 | 24,317,402 | 8/4/2022 | |
4.46.0-preview2 | 35,814 | 7/8/2022 | |
4.45.0 | 64,596,301 | 6/23/2022 | |
4.44.0 | 6,711,545 | 5/20/2022 | |
4.43.2 | 1,180,048 | 5/2/2022 | |
4.43.1 | 1,246,025 | 4/15/2022 | |
4.43.0 | 1,929,948 | 4/6/2022 | |
4.42.1 | 1,483,910 | 3/15/2022 | |
4.42.0 | 16,525,107 | 2/28/2022 | |
4.41.0 | 6,710,237 | 2/8/2022 | |
4.40.0 | 3,804,867 | 1/8/2022 | |
4.39.0 | 67,564,723 | 11/30/2021 | |
4.38.0 | 1,295,064 | 11/19/2021 | |
4.37.0 | 7,435,712 | 10/22/2021 | |
4.37.0-preview | 63,412 | 10/6/2021 | |
4.36.2 | 3,123,555 | 9/29/2021 | |
4.36.1 | 2,478,020 | 9/8/2021 | |
4.36.0 | 1,263,872 | 8/31/2021 | |
4.35.1 | 13,880,567 | 7/30/2021 | |
4.35.0 | 1,928,601 | 7/23/2021 | |
4.34.0 | 1,394,879 | 7/8/2021 | |
4.33.0 | 3,895,388 | 6/22/2021 | |
4.32.1 | 2,119,174 | 6/10/2021 | |
4.32.0 | 625,020 | 6/3/2021 | |
4.31.0 | 2,162,068 | 5/11/2021 | |
4.30.1 | 78,002,439 | 4/28/2021 | |
4.30.0 | 1,313,906 | 4/22/2021 | |
4.29.0 | 3,862,124 | 3/30/2021 | |
4.28.1 | 984,669 | 3/23/2021 | |
4.28.0 | 211,595 | 3/18/2021 | |
4.27.1 | 9,122 | 4/16/2021 | |
4.27.0 | 1,593,695 | 2/19/2021 | |
4.26.0 | 1,870,878 | 2/10/2021 | |
4.25.0 | 2,795,844 | 1/20/2021 | |
4.24.0 | 2,544,749 | 12/5/2020 | |
4.23.0 | 2,413,112 | 11/24/2020 | |
4.22.0 | 130,601,039 | 10/27/2020 | |
4.21.1 | 146,815,718 | 10/20/2020 | |
4.21.0 | 796,536 | 10/15/2020 | |
4.20.1 | 695,962 | 10/14/2020 | |
4.20.0 | 39,775 | 10/13/2020 | |
4.20.0-wampreview1 | 11,376 | 9/30/2020 | |
4.19.0 | 2,618,223 | 9/25/2020 | |
4.18.0 | 1,562,897 | 9/2/2020 | |
4.17.2 | 8,496 | 1/21/2021 | |
4.17.1 | 2,466,340 | 8/5/2020 | |
4.17.0 | 382,413 | 7/27/2020 | |
4.16.1 | 7,854,215 | 7/10/2020 | |
4.16.0 | 134,538 | 7/7/2020 | |
4.15.0 | 1,318,316 | 6/18/2020 | |
4.14.0 | 80,210,505 | 5/19/2020 | |
4.13.0 | 797,898 | 5/5/2020 | |
4.12.0 | 895,862 | 4/23/2020 | |
4.11.0 | 966,503 | 4/3/2020 | |
4.10.0 | 996,900 | 3/18/2020 | |
4.9.0 | 4,050,136 | 3/6/2020 | |
4.8.2 | 6,785,491 | 2/15/2020 | |
4.8.1 | 531,981 | 1/29/2020 | |
4.8.1-preview1 | 16,022 | 1/28/2020 | |
4.7.1 | 1,636,151 | 11/22/2019 | |
4.7.0 | 250,997 | 11/7/2019 | |
4.6.0 | 2,047,659 | 11/4/2019 | |
4.5.1 | 703,981 | 10/17/2019 | |
4.5.0 | 59,707 | 10/16/2019 | |
4.4.0 | 506,172 | 9/20/2019 | |
4.3.1 | 725,609 | 8/27/2019 | |
4.3.0 | 348,831 | 8/8/2019 | |
4.2.1 | 195,647 | 7/24/2019 | |
4.2.0 | 40,356 | 7/23/2019 | |
4.1.0 | 15,703,235 | 7/2/2019 | |
4.0.0 | 1,399,455 | 6/3/2019 | |
3.0.9 | 57,409 | 7/31/2019 | |
3.0.8 | 118,171,103 | 4/30/2019 | |
3.0.6-preview | 113,407 | 4/19/2019 | |
3.0.5-preview | 12,572 | 4/16/2019 | |
3.0.4-preview | 41,543 | 4/11/2019 | |
3.0.3-preview | 73,968 | 4/8/2019 | |
3.0.2-preview | 15,896 | 3/25/2019 | |
3.0.1-preview | 8,727 | 3/21/2019 | |
3.0.0-preview | 33,834 | 2/27/2019 | |
2.7.1 | 936,177 | 2/21/2019 | |
2.7.0 | 391,242 | 1/16/2019 | |
2.6.2 | 175,829 | 12/20/2018 | |
2.6.1 | 124,289 | 12/18/2018 | |
2.6.0-preview | 29,005 | 12/12/2018 | |
2.5.0-preview | 189,904 | 11/21/2018 | |
2.4.1-preview | 14,566 | 11/16/2018 | |
2.4.0-preview | 766,822 | 11/9/2018 | |
2.3.1-preview | 45,297 | 10/26/2018 | |
2.3.0-preview | 29,335 | 10/19/2018 | |
2.2.1-preview | 17,694 | 10/17/2018 | |
2.2.0-preview | 39,407 | 10/5/2018 | |
2.1.0-preview | 53,432 | 9/27/2018 | |
2.0.1-preview | 66,174 | 9/15/2018 | |
2.0.0-preview | 70,833 | 8/28/2018 | |
1.1.4-preview0002 | 301,534 | 6/1/2018 | |
1.1.3-preview0012 | 16,030 | 5/25/2018 | |
1.1.2-preview0008 | 556,074 | 2/2/2018 | |
1.1.1-preview0040 | 77,444 | 1/6/2018 | |
1.1.0-preview | 581,882 | 5/9/2017 | |
1.0.304142221-alpha | 462,173 | 4/15/2016 | |
1.0.304142201-alpha | 12,626 | 4/15/2016 | |
1.0.303282006-alpha | 13,618 | 3/29/2016 |
The release notes are available at https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/releases and the roadmap at https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki#roadmap. To provide feedback, fill-in the survey at https://ncv.microsoft.com/JrXkdySi0m.