Microsoft.AspNetCore.Authentication.MicrosoftAccount
10.0.0-preview.1.25120.3
Prefix Reserved
dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount --version 10.0.0-preview.1.25120.3
NuGet\Install-Package Microsoft.AspNetCore.Authentication.MicrosoftAccount -Version 10.0.0-preview.1.25120.3
<PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="10.0.0-preview.1.25120.3" />
paket add Microsoft.AspNetCore.Authentication.MicrosoftAccount --version 10.0.0-preview.1.25120.3
#r "nuget: Microsoft.AspNetCore.Authentication.MicrosoftAccount, 10.0.0-preview.1.25120.3"
// Install Microsoft.AspNetCore.Authentication.MicrosoftAccount as a Cake Addin #addin nuget:?package=Microsoft.AspNetCore.Authentication.MicrosoftAccount&version=10.0.0-preview.1.25120.3&prerelease // Install Microsoft.AspNetCore.Authentication.MicrosoftAccount as a Cake Tool #tool nuget:?package=Microsoft.AspNetCore.Authentication.MicrosoftAccount&version=10.0.0-preview.1.25120.3&prerelease
About
Microsoft.AspNetCore.Authentication.MicrosoftAccount
provides ASP.NET Core middleware that enables applications to support the Microsoft Account authentication workflow.
How to Use
To use Microsoft.AspNetCore.Authentication.MicrosoftAccount
, follow these steps:
Installation
dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount
Configuration
- Refer to the guide in the official documentation here to create the app in Microsoft Developer Portal
- Follow the steps in the official documentation here to store the Microsoft client ID and secret
- Add the Authentication service to your app's
Program.cs
:var builder = WebApplication.CreateBuilder(args); builder.Services.AddAuthentication().AddMicrosoftAccount(microsoftOptions => { microsoftOptions.ClientId = builder.Configuration["Authentication:Microsoft:ClientId"]; microsoftOptions.ClientSecret = builder.Configuration["Authentication:Microsoft:ClientSecret"]; });
Main Types
The main types provided by this package are:
MicrosoftAccountOptions
: Represents the options for configuring Microsoft Account authenticationMicrosoftAccountHandler
: The authentication handler responsible for processing Microsoft Account authentication requests and generating the appropriate authentication ticket
Additional Documentation
For additional documentation and examples, refer to the official documentation on Microsoft Account login setup in ASP.NET Core.
Feedback & Contributing
Microsoft.AspNetCore.Authentication.MicrosoftAccount
is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. |
-
net10.0
- No dependencies.
NuGet packages (78)
Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Authentication.MicrosoftAccount:
Package | Downloads |
---|---|
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. |
|
Abp.AspNetZeroCore.Web
Package Description |
|
FenixAlliance.ACL.Dependencies
Application Component for the Alliance Business Suite. |
|
NanoCore
The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar. |
GitHub repositories (22)
Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Authentication.MicrosoftAccount:
Repository | Stars |
---|---|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
|
|
davidfowl/TodoApp
Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
|
|
dotnetcore/osharp
OSharp是一个基于.Net6.0的快速开发框架,框架对 AspNetCore 的配置、依赖注入、日志、缓存、实体框架、Mvc(WebApi)、身份认证、功能权限、数据权限等模块进行更高一级的自动化封装,并规范了一套业务实现的代码结构与操作流程,使 .Net 框架更易于应用到实际项目开发中。
|
|
Squidex/squidex
Headless CMS and Content Managment Hub
|
Version | Downloads | Last updated | |
---|---|---|---|
10.0.0-preview.1.25120.3 | 243 | 2/25/2025 | |
9.0.2 | 14,801 | 2/11/2025 | |
9.0.1 | 28,571 | 1/14/2025 | |
9.0.0 | 81,568 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 5,011 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 1,588 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 1,068 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 53,919 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 482 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 417 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 1,013 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 497 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 1,745 | 2/13/2024 | |
8.0.13 | 5,844 | 2/11/2025 | |
8.0.12 | 16,143 | 1/14/2025 | |
8.0.11 | 76,851 | 11/12/2024 | |
8.0.10 | 149,138 | 10/8/2024 | |
8.0.8 | 232,532 | 8/13/2024 | |
8.0.7 | 113,566 | 7/9/2024 | |
8.0.6 | 169,713 | 5/28/2024 | |
8.0.5 | 65,494 | 5/14/2024 | |
8.0.4 | 159,370 | 4/9/2024 | |
8.0.3 | 93,538 | 3/12/2024 | |
8.0.2 | 132,827 | 2/13/2024 | |
8.0.1 | 123,151 | 1/9/2024 | |
8.0.0 | 412,802 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 8,960 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 2,737 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 1,655 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 1,218 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 983 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 207,837 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 1,385 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 90,563 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 482 | 2/21/2023 | |
7.0.20 | 16,083 | 5/28/2024 | |
7.0.19 | 3,837 | 5/14/2024 | |
7.0.18 | 8,406 | 4/9/2024 | |
7.0.17 | 9,992 | 3/12/2024 | |
7.0.16 | 8,962 | 2/13/2024 | |
7.0.15 | 14,548 | 1/9/2024 | |
7.0.14 | 31,918 | 11/14/2023 | |
7.0.13 | 43,429 | 10/24/2023 | |
7.0.12 | 29,743 | 10/10/2023 | |
7.0.11 | 73,111 | 9/12/2023 | |
7.0.10 | 104,387 | 8/8/2023 | |
7.0.9 | 79,782 | 7/11/2023 | |
7.0.8 | 80,997 | 6/22/2023 | |
7.0.7 | 21,557 | 6/13/2023 | |
7.0.5 | 258,234 | 4/11/2023 | |
7.0.4 | 66,010 | 3/14/2023 | |
7.0.3 | 65,976 | 2/14/2023 | |
7.0.2 | 156,407 | 1/10/2023 | |
7.0.1 | 34,153 | 12/13/2022 | |
7.0.0 | 229,420 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 2,031 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 67,068 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 712 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 503 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 760 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 754 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 652 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 409 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 429 | 2/17/2022 | |
6.0.36 | 7,931 | 11/12/2024 | |
6.0.35 | 8,866 | 10/8/2024 | |
6.0.33 | 9,968 | 8/13/2024 | |
6.0.32 | 13,319 | 7/9/2024 | |
6.0.31 | 11,157 | 5/28/2024 | |
6.0.30 | 4,137 | 5/14/2024 | |
6.0.29 | 8,774 | 4/9/2024 | |
6.0.28 | 11,798 | 3/12/2024 | |
6.0.27 | 7,094 | 2/13/2024 | |
6.0.26 | 29,995 | 1/9/2024 | |
6.0.25 | 43,752 | 11/14/2023 | |
6.0.24 | 67,820 | 10/24/2023 | |
6.0.23 | 12,938 | 10/10/2023 | |
6.0.22 | 23,002 | 9/12/2023 | |
6.0.21 | 50,359 | 8/8/2023 | |
6.0.20 | 38,710 | 7/11/2023 | |
6.0.19 | 21,002 | 6/22/2023 | |
6.0.18 | 18,920 | 6/13/2023 | |
6.0.16 | 110,652 | 4/11/2023 | |
6.0.15 | 40,116 | 3/14/2023 | |
6.0.14 | 49,755 | 2/14/2023 | |
6.0.13 | 128,102 | 1/10/2023 | |
6.0.12 | 52,599 | 12/13/2022 | |
6.0.11 | 75,259 | 11/7/2022 | |
6.0.10 | 241,631 | 10/11/2022 | |
6.0.9 | 116,789 | 9/13/2022 | |
6.0.8 | 198,267 | 8/9/2022 | |
6.0.7 | 313,911 | 7/12/2022 | |
6.0.6 | 138,478 | 6/14/2022 | |
6.0.5 | 1,056,373 | 5/10/2022 | |
6.0.4 | 297,184 | 4/11/2022 | |
6.0.3 | 198,852 | 3/8/2022 | |
6.0.2 | 131,575 | 2/8/2022 | |
6.0.1 | 572,232 | 12/14/2021 | |
6.0.0 | 421,673 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 2,232 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 3,459 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 1,423 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 837 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 974 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 764 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 720 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 637 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 1,704 | 2/12/2021 | |
5.0.17 | 115,228 | 5/10/2022 | |
5.0.16 | 6,731 | 4/11/2022 | |
5.0.15 | 21,081 | 3/8/2022 | |
5.0.14 | 16,155 | 2/8/2022 | |
5.0.13 | 54,849 | 12/14/2021 | |
5.0.12 | 31,332 | 11/7/2021 | |
5.0.11 | 78,339 | 10/12/2021 | |
5.0.10 | 106,497 | 9/14/2021 | |
5.0.9 | 81,510 | 8/10/2021 | |
5.0.8 | 92,472 | 7/13/2021 | |
5.0.7 | 115,669 | 6/8/2021 | |
5.0.6 | 78,399 | 5/11/2021 | |
5.0.5 | 124,723 | 4/6/2021 | |
5.0.4 | 142,852 | 3/9/2021 | |
5.0.3 | 43,282 | 2/9/2021 | |
5.0.2 | 30,919 | 1/12/2021 | |
5.0.1 | 65,581 | 12/8/2020 | |
5.0.0 | 385,672 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 2,032 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 1,714 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 784 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 656 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 786 | 6/25/2020 | |
5.0.0-preview.5.20279.2 | 594 | 6/10/2020 | |
5.0.0-preview.4.20257.10 | 632 | 5/18/2020 | |
5.0.0-preview.3.20215.14 | 633 | 4/23/2020 | |
5.0.0-preview.2.20167.3 | 639 | 4/2/2020 | |
5.0.0-preview.1.20124.5 | 620 | 3/16/2020 | |
3.1.32 | 11,053 | 12/13/2022 | |
3.1.31 | 3,813 | 11/8/2022 | |
3.1.30 | 2,309 | 10/11/2022 | |
3.1.29 | 4,786 | 9/13/2022 | |
3.1.28 | 3,133 | 8/9/2022 | |
3.1.27 | 2,063 | 7/12/2022 | |
3.1.26 | 4,740 | 6/14/2022 | |
3.1.25 | 14,403 | 5/10/2022 | |
3.1.24 | 4,101 | 4/11/2022 | |
3.1.23 | 13,406 | 3/8/2022 | |
3.1.22 | 26,850 | 12/14/2021 | |
3.1.21 | 20,374 | 11/7/2021 | |
3.1.20 | 28,070 | 10/11/2021 | |
3.1.19 | 24,027 | 9/14/2021 | |
3.1.18 | 21,653 | 8/10/2021 | |
3.1.17 | 34,195 | 7/13/2021 | |
3.1.16 | 27,655 | 6/8/2021 | |
3.1.15 | 13,400 | 5/11/2021 | |
3.1.14 | 23,349 | 4/6/2021 | |
3.1.13 | 59,443 | 3/9/2021 | |
3.1.12 | 20,843 | 2/9/2021 | |
3.1.11 | 125,049 | 1/12/2021 | |
3.1.10 | 85,336 | 11/9/2020 | |
3.1.9 | 106,092 | 10/13/2020 | |
3.1.8 | 168,032 | 9/8/2020 | |
3.1.7 | 68,140 | 8/11/2020 | |
3.1.6 | 60,734 | 7/14/2020 | |
3.1.5 | 206,599 | 6/9/2020 | |
3.1.4 | 113,621 | 5/12/2020 | |
3.1.3 | 160,871 | 3/24/2020 | |
3.1.2 | 107,591 | 2/18/2020 | |
3.1.1 | 75,975 | 1/14/2020 | |
3.1.0 | 87,013 | 12/3/2019 | |
3.1.0-preview3.19555.2 | 652 | 11/13/2019 | |
3.1.0-preview2.19528.8 | 623 | 11/1/2019 | |
3.1.0-preview1.19508.20 | 676 | 10/15/2019 | |
3.0.3 | 4,285 | 2/18/2020 | |
3.0.2 | 2,674 | 1/14/2020 | |
3.0.0 | 590,580 | 9/23/2019 | |
3.0.0-rc1.19457.4 | 1,575 | 9/16/2019 | |
3.0.0-preview9.19424.4 | 1,755 | 9/4/2019 | |
3.0.0-preview8.19405.7 | 2,217 | 8/13/2019 | |
3.0.0-preview7.19365.7 | 2,898 | 7/23/2019 | |
3.0.0-preview6.19307.2 | 1,562 | 6/12/2019 | |
3.0.0-preview5-19227-01 | 2,034 | 5/6/2019 | |
3.0.0-preview4-19216-03 | 1,615 | 4/18/2019 | |
3.0.0-preview3-19153-02 | 1,681 | 3/6/2019 | |
3.0.0-preview-19075-0444 | 1,575 | 1/29/2019 | |
3.0.0-preview-18579-0056 | 1,688 | 12/3/2018 | |
2.3.0 | 111 | 1/14/2025 | |
2.2.0 | 13,466,962 | 12/3/2018 | |
2.2.0-preview3-35497 | 63,366 | 10/17/2018 | |
2.2.0-preview2-35157 | 5,997 | 9/12/2018 | |
2.2.0-preview1-35029 | 3,108 | 8/22/2018 | |
2.1.2 | 13,385,602 | 8/21/2018 | |
2.1.1 | 10,525,331 | 6/18/2018 | |
2.1.0 | 3,440,137 | 5/29/2018 | |
2.1.0-rc1-final | 19,335 | 5/6/2018 | |
2.1.0-preview2-final | 19,702 | 4/10/2018 | |
2.1.0-preview1-final | 27,189 | 2/26/2018 | |
2.0.4 | 3,727,326 | 5/7/2018 | |
2.0.3 | 3,406,929 | 3/13/2018 | |
2.0.1 | 5,218,685 | 11/14/2017 | |
2.0.0 | 6,327,300 | 8/11/2017 | |
2.0.0-preview2-final | 54,356 | 6/27/2017 | |
2.0.0-preview1-final | 18,536 | 5/10/2017 | |
1.1.3 | 8,108 | 9/20/2017 | |
1.1.2 | 64,593 | 5/9/2017 | |
1.1.1 | 71,944 | 3/6/2017 | |
1.1.0 | 87,808 | 11/16/2016 | |
1.1.0-preview1-final | 3,498 | 10/24/2016 | |
1.0.5 | 4,328 | 11/14/2017 | |
1.0.4 | 3,051 | 9/20/2017 | |
1.0.3 | 5,170 | 5/9/2017 | |
1.0.2 | 7,883 | 3/6/2017 | |
1.0.1 | 5,531 | 12/12/2016 | |
1.0.0 | 126,907 | 6/27/2016 | |
1.0.0-rc2-final | 3,593 | 5/16/2016 |