Microsoft.AspNetCore.Authentication.MicrosoftAccount 命名空間

包含支援 Microsoft 帳戶 OAuth 型驗證的類型。

類別

MicrosoftAccountDefaults

Microsoft 帳戶驗證的預設值

MicrosoftAccountHandler

Microsoft 帳戶型驗證的驗證處理常式。

MicrosoftAccountHelper

包含靜態方法,允許在成功驗證程式之後,從 Newtonsoft.Json.Linq.JObject Microsoft 擷取的實例擷取使用者的資訊。 http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/user

MicrosoftAccountMiddleware

使用 Microsoft 帳戶服務驗證使用者的 ASP.NET Core中介軟體。

MicrosoftAccountOptions

MicrosoftAccountHandler 的組態選項。

MicrosoftChallengeProperties

AuthenticationProperties 適用于 Microsoft OAuth 挑戰要求。 如需參考,請參閱 https://learn.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code

備註

如需使用 Microsoft 帳戶驗證的詳細資訊,請參閱ASP.NET Core 中的 Facebook、Google 和外部提供者驗證