Microsoft.AspNetCore.Authentication.MicrosoftAccount 10.0.0-preview.2.25164.1

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

  1. Refer to the guide in the official documentation here to create the app in Microsoft Developer Portal
  2. Follow the steps in the official documentation here to store the Microsoft client ID and secret
  3. 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 authentication
  • MicrosoftAccountHandler: 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.

Showing the top 20 packages that depend on Microsoft.AspNetCore.Authentication.MicrosoftAccount.

Packages Downloads
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
15
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
16
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.
15
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.
16
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.
17
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
16
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.
14
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.
15
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.
16
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.
18
Ocelot
Ocelot Api Gateway
16
Ocelot
This project is aimed at people using .NET running a micro services / service orientated architecture that need a unified point of entry into their system. In particular I want easy integration with IdentityServer reference and bearer tokens. We have been unable to find this in my current workplace without having to write our own Javascript middlewares to handle the IdentityServer reference tokens. We would rather use the IdentityServer code that already exists to do this. Ocelot is a bunch of middlewares in a specific order. Ocelot manipulates the HttpRequest object into a state specified by its configuration until it reaches a request builder middleware where it creates a HttpRequestMessage object which is used to make a request to a downstream service. The middleware that makes the request is the last thing in the Ocelot pipeline. It does not call the next middleware. The response from the downstream service is stored in a per request scoped repository and retrived as the requests goes back up the Ocelot pipeline. There is a piece of middleware that maps the HttpResponseMessage onto the HttpResponse object and that is returned to the client. That is basically it with a bunch of other features.
14

.NET 10.0

  • No dependencies.

Version Downloads Last updated
10.0.0-preview.2.25164.1 2 03/22/2025
10.0.0-preview.1.25120.3 3 02/27/2025
9.0.3 2 03/15/2025
9.0.2 3 02/15/2025
9.0.1 3 02/02/2025
9.0.0 8 12/04/2024
9.0.0-rc.2.24474.3 8 11/14/2024
9.0.0-rc.1.24452.1 7 12/03/2024
9.0.0-preview.7.24406.2 7 11/14/2024
9.0.0-preview.6.24328.4 9 11/14/2024
9.0.0-preview.5.24306.11 8 11/14/2024
9.0.0-preview.4.24267.6 17 05/29/2024
9.0.0-preview.3.24172.13 7 11/14/2024
9.0.0-preview.2.24128.4 16 04/24/2024
9.0.0-preview.1.24081.5 9 12/02/2024
8.0.14 2 03/15/2025
8.0.13 2 02/27/2025
8.0.12 4 02/02/2025
8.0.11 9 12/02/2024
8.0.10 10 11/14/2024
8.0.8 10 11/14/2024
8.0.7 7 12/02/2024
8.0.6 9 11/14/2024
8.0.5 12 05/19/2024
8.0.4 8 11/14/2024
8.0.3 7 11/14/2024
8.0.2 8 11/14/2024
8.0.1 11 05/14/2024
8.0.0 12 05/02/2024
8.0.0-rc.2.23480.2 7 11/14/2024
8.0.0-rc.1.23421.29 9 11/14/2024
8.0.0-preview.7.23375.9 16 05/18/2024
8.0.0-preview.6.23329.11 8 11/14/2024
8.0.0-preview.5.23302.2 8 11/14/2024
8.0.0-preview.4.23260.4 8 11/14/2024
8.0.0-preview.3.23177.8 7 11/14/2024
8.0.0-preview.2.23153.2 8 11/14/2024
8.0.0-preview.1.23112.2 7 11/14/2024
7.0.20 8 12/12/2024
7.0.19 12 05/19/2024
7.0.18 8 11/14/2024
7.0.17 9 11/14/2024
7.0.16 8 11/14/2024
7.0.15 15 05/14/2024
7.0.14 8 11/14/2024
7.0.13 15 05/14/2024
7.0.12 12 05/14/2024
7.0.11 11 11/14/2024
7.0.10 8 11/14/2024
7.0.9 8 11/14/2024
7.0.8 9 12/03/2024
7.0.7 7 12/11/2024
7.0.5 8 11/14/2024
7.0.4 8 11/14/2024
7.0.3 13 05/14/2024
7.0.2 12 05/14/2024
7.0.1 8 12/13/2024
7.0.0 9 11/14/2024
7.0.0-rc.2.22476.2 7 11/14/2024
7.0.0-rc.1.22427.2 7 11/14/2024
7.0.0-preview.7.22376.6 13 05/14/2024
7.0.0-preview.6.22330.3 14 05/14/2024
7.0.0-preview.5.22303.8 10 11/14/2024
7.0.0-preview.4.22251.1 14 05/19/2024
7.0.0-preview.3.22178.4 7 11/14/2024
7.0.0-preview.2.22153.2 7 11/14/2024
7.0.0-preview.1.22109.13 7 11/14/2024
6.0.36 10 11/14/2024
6.0.35 9 11/14/2024
6.0.33 8 11/14/2024
6.0.32 9 11/14/2024
6.0.31 9 11/14/2024
6.0.30 14 05/19/2024
6.0.29 11 11/14/2024
6.0.28 7 11/14/2024
6.0.27 7 11/14/2024
6.0.26 8 11/14/2024
6.0.25 8 11/04/2024
6.0.24 7 11/14/2024
6.0.23 12 05/14/2024
6.0.22 9 11/14/2024
6.0.21 8 11/14/2024
6.0.20 9 11/14/2024
6.0.19 6 12/13/2024
6.0.18 8 11/14/2024
6.0.16 10 11/14/2024
6.0.15 9 11/14/2024
6.0.14 8 11/14/2024
6.0.13 8 11/14/2024
6.0.12 7 11/14/2024
6.0.11 12 05/14/2024
6.0.10 7 11/14/2024
6.0.9 7 11/14/2024
6.0.8 9 11/14/2024
6.0.7 8 11/14/2024
6.0.6 10 11/14/2024
6.0.5 8 11/14/2024
6.0.4 9 11/14/2024
6.0.3 13 05/14/2024
6.0.2 12 05/19/2024
6.0.1 11 05/14/2024
6.0.0 9 11/05/2024
6.0.0-rc.2.21480.10 10 11/14/2024
6.0.0-rc.1.21452.15 8 11/14/2024
6.0.0-preview.7.21378.6 12 05/14/2024
6.0.0-preview.6.21355.2 10 05/14/2024
6.0.0-preview.5.21301.17 15 05/20/2024
6.0.0-preview.4.21253.5 13 05/14/2024
6.0.0-preview.3.21201.13 7 11/14/2024
6.0.0-preview.2.21154.6 10 11/14/2024
6.0.0-preview.1.21103.6 7 11/14/2024
5.0.17 10 11/14/2024
5.0.16 9 11/14/2024
5.0.15 9 05/14/2024
5.0.14 14 05/14/2024
5.0.13 10 11/14/2024
5.0.12 10 11/14/2024
5.0.11 7 11/14/2024
5.0.10 8 11/14/2024
5.0.9 8 11/14/2024
5.0.8 8 11/14/2024
5.0.7 12 05/19/2024
5.0.6 8 11/14/2024
5.0.5 8 11/14/2024
5.0.4 7 11/14/2024
5.0.3 9 11/14/2024
5.0.2 8 11/14/2024
5.0.1 8 11/14/2024
5.0.0 7 11/14/2024
5.0.0-rc.2.20475.17 9 11/14/2024
5.0.0-rc.1.20451.17 11 11/14/2024
5.0.0-preview.8.20414.8 9 11/14/2024
5.0.0-preview.7.20365.19 8 11/14/2024
5.0.0-preview.6.20312.15 7 11/14/2024
5.0.0-preview.5.20279.2 7 11/14/2024
5.0.0-preview.4.20257.10 8 11/14/2024
5.0.0-preview.3.20215.14 9 05/26/2024
5.0.0-preview.2.20167.3 8 11/14/2024
5.0.0-preview.1.20124.5 13 05/14/2024
3.1.32 7 11/14/2024
3.1.31 14 05/14/2024
3.1.30 9 11/14/2024
3.1.29 9 11/14/2024
3.1.28 7 11/14/2024
3.1.27 17 05/14/2024
3.1.26 12 05/14/2024
3.1.25 8 11/14/2024
3.1.24 7 12/10/2024
3.1.23 9 11/03/2024
3.1.22 8 11/14/2024
3.1.21 7 11/14/2024
3.1.20 8 11/14/2024
3.1.19 8 11/14/2024
3.1.18 8 11/14/2024
3.1.17 13 05/14/2024
3.1.16 8 11/14/2024
3.1.15 8 11/14/2024
3.1.14 14 05/14/2024
3.1.13 7 11/14/2024
3.1.12 9 11/14/2024
3.1.11 12 05/14/2024
3.1.10 8 11/04/2024
3.1.9 10 11/14/2024
3.1.8 7 11/14/2024
3.1.7 8 11/14/2024
3.1.6 11 05/30/2024
3.1.5 11 05/14/2024
3.1.4 11 11/14/2024
3.1.3 8 11/14/2024
3.1.2 10 11/14/2024
3.1.1 7 11/16/2024
3.1.0 11 11/14/2024
3.1.0-preview3.19555.2 16 05/14/2024
3.1.0-preview2.19528.8 8 12/10/2024
3.1.0-preview1.19508.20 11 11/14/2024
3.0.3 8 11/14/2024
3.0.2 9 11/14/2024
3.0.0 7 12/10/2024
3.0.0-rc1.19457.4 14 05/14/2024
3.0.0-preview9.19424.4 8 11/14/2024
3.0.0-preview8.19405.7 7 12/05/2024
3.0.0-preview7.19365.7 9 11/14/2024
3.0.0-preview6.19307.2 11 11/14/2024
3.0.0-preview5-19227-01 8 12/05/2024
3.0.0-preview4-19216-03 13 05/19/2024
3.0.0-preview3-19153-02 10 12/12/2024
3.0.0-preview-19075-0444 10 11/14/2024
3.0.0-preview-18579-0056 9 11/14/2024
2.3.0 4 02/02/2025
2.2.0 16 08/17/2023
2.2.0-preview3-35497 11 05/14/2024
2.2.0-preview2-35157 14 05/14/2024
2.2.0-preview1-35029 11 05/14/2024
2.1.2 8 11/14/2024
2.1.1 9 11/14/2024
2.1.0 9 11/14/2024
2.1.0-rc1-final 9 11/14/2024
2.1.0-preview2-final 10 11/14/2024
2.1.0-preview1-final 15 05/14/2024
2.0.4 12 05/14/2024
2.0.3 14 11/09/2024
2.0.1 8 11/14/2024
2.0.0 15 05/27/2024
2.0.0-preview2-final 10 11/14/2024
2.0.0-preview1-final 8 11/14/2024
1.1.3 13 05/23/2024
1.1.2 16 05/14/2024
1.1.1 14 05/14/2024
1.1.0 9 11/14/2024
1.1.0-preview1-final 8 11/14/2024
1.0.5 10 11/14/2024
1.0.4 9 11/14/2024
1.0.3 13 11/14/2024
1.0.2 9 11/14/2024
1.0.1 14 04/29/2024
1.0.0 14 05/14/2024
1.0.0-rc2-final 8 11/14/2024