MicrosoftAccountAppBuilderExtensions 类

定义

将 Microsoft 帐户身份验证功能添加到 HTTP 应用程序管道的扩展方法。

public ref class MicrosoftAccountAppBuilderExtensions abstract sealed
public static class MicrosoftAccountAppBuilderExtensions
type MicrosoftAccountAppBuilderExtensions = class
Public Module MicrosoftAccountAppBuilderExtensions
继承
MicrosoftAccountAppBuilderExtensions

方法

UseMicrosoftAccountAuthentication(IApplicationBuilder)
已过时.
已过时.

UseMicrosoftAccountAuthentication 已过时。 使用 AddAuthentication () 配置 MicrosoftAccount 身份验证。ConfigureServices 中的 AddMicrosoftAccount。 有关详细信息,请参阅 https://go.microsoft.com/fwlink/?linkid=845470

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)
已过时.
已过时.

UseMicrosoftAccountAuthentication 已过时。 使用 AddAuthentication () 配置 MicrosoftAccount 身份验证。ConfigureServices 中的 AddMicrosoftAccount。 有关详细信息,请参阅 https://go.microsoft.com/fwlink/?linkid=845470

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

MicrosoftAccountMiddleware 中间件添加到指定的 IApplicationBuilder,这将启用 Microsoft 帐户身份验证功能。

适用于