MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication Method

Definition

Overloads

UseMicrosoftAccountAuthentication(IApplicationBuilder) UseMicrosoftAccountAuthentication(IApplicationBuilder) UseMicrosoftAccountAuthentication(IApplicationBuilder)

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Adds the MicrosoftAccountMiddleware middleware to the specified IApplicationBuilder, which enables Microsoft Account authentication capabilities.

UseMicrosoftAccountAuthentication(IApplicationBuilder) UseMicrosoftAccountAuthentication(IApplicationBuilder) UseMicrosoftAccountAuthentication(IApplicationBuilder)

Warning

This API is now obsolete.

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder) As IApplicationBuilder
Parameters
Returns

A reference to this instance after the operation has completed.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Warning

This API is now obsolete.

UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("UseMicrosoftAccountAuthentication is obsolete. Configure MicrosoftAccount authentication with AddAuthentication().AddMicrosoftAccount in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions options);
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder, options As MicrosoftAccountOptions) As IApplicationBuilder
Parameters
Returns

A reference to this instance after the operation has completed.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions) UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Adds the MicrosoftAccountMiddleware middleware to the specified IApplicationBuilder, which enables Microsoft Account authentication capabilities.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.MicrosoftAccountOptions options);
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder, options As MicrosoftAccountOptions) As IApplicationBuilder
Parameters
Returns

A reference to this instance after the operation has completed.

Applies to