Megosztás a következőn keresztül:


Microsoft.AspNetCore.Authentication.MicrosoftAccount Namespace

Contains types that enable support for Microsoft Account OAuth based authentication.

Classes

MicrosoftAccountDefaults

Default values for Microsoft account authentication

MicrosoftAccountHandler

Authentication handler for Microsoft Account based authentication.

MicrosoftAccountHelper

Contains static methods that allow to extract user's information from a Newtonsoft.Json.Linq.JObject instance retrieved from Microsoft after a successful authentication process. http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/user

MicrosoftAccountMiddleware

An ASP.NET Core middleware for authenticating users using the Microsoft Account service.

MicrosoftAccountOptions

Configuration options for MicrosoftAccountHandler.

MicrosoftChallengeProperties

AuthenticationProperties for Microsoft OAuth challenge request. See https://learn.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code for reference.

Remarks

For more information about using Microsoft Account authentication, see Facebook, Google, and external provider authentication in ASP.NET Core.