Compartir a través de


MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication Método

Definición

Sobrecargas

UseMicrosoftAccountAuthentication(IApplicationBuilder)
Obsoletos.
Obsoletos.

UseMicrosoftAccountAuthentication está obsoleto. Configure la autenticación de MicrosoftAccount con AddAuthentication(). AgregueMicrosoftAccount en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)
Obsoletos.
Obsoletos.

UseMicrosoftAccountAuthentication está obsoleto. Configure la autenticación de MicrosoftAccount con AddAuthentication(). AgregueMicrosoftAccount en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Agrega el MicrosoftAccountMiddleware middleware al especificado IApplicationBuilder, que habilita las funcionalidades de autenticación de la cuenta De Microsoft.

UseMicrosoftAccountAuthentication(IApplicationBuilder)

Source:
MicrosoftAccountAppBuilderExtensions.cs
Source:
MicrosoftAccountAppBuilderExtensions.cs

Precaución

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

UseMicrosoftAccountAuthentication está obsoleto. Configure la autenticación de MicrosoftAccount con AddAuthentication(). AgregueMicrosoftAccount en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[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
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<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)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseMicrosoftAccountAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parámetros

app
IApplicationBuilder

al IApplicationBuilder que se va a agregar el controlador.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Atributos

Se aplica a

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Source:
MicrosoftAccountAppBuilderExtensions.cs
Source:
MicrosoftAccountAppBuilderExtensions.cs

Precaución

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

UseMicrosoftAccountAuthentication está obsoleto. Configure la autenticación de MicrosoftAccount con AddAuthentication(). AgregueMicrosoftAccount en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::MicrosoftAccount::MicrosoftAccountOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseMicrosoftAccountAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions options);
[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);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseMicrosoftAccountAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.MicrosoftAccount.MicrosoftAccountOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<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)>]
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

Parámetros

app
IApplicationBuilder

al IApplicationBuilder que se va a agregar el controlador.

options
MicrosoftAccountOptions

que MicrosoftAccountOptions especifica las opciones del controlador.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Atributos

Se aplica a

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Agrega el MicrosoftAccountMiddleware middleware al especificado IApplicationBuilder, que habilita las funcionalidades de autenticación de la cuenta De Microsoft.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseMicrosoftAccountAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::MicrosoftAccountOptions ^ options);
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

Parámetros

app
IApplicationBuilder

al IApplicationBuilder que se va a agregar el middleware.

options
MicrosoftAccountOptions

que MicrosoftAccountOptions especifica las opciones del middleware.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a