Partager via


MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication Méthode

Définition

Surcharges

UseMicrosoftAccountAuthentication(IApplicationBuilder)
Obsolète.
Obsolète.

UseMicrosoftAccountAuthentication est obsolète. Configurer l’authentification MicrosoftAccount avec AddAuthentication(). AjoutezMicrosoftAccount dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)
Obsolète.
Obsolète.

UseMicrosoftAccountAuthentication est obsolète. Configurer l’authentification MicrosoftAccount avec AddAuthentication(). AjoutezMicrosoftAccount dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Ajoute le MicrosoftAccountMiddleware middleware au spécifié IApplicationBuilder, ce qui active les fonctionnalités d’authentification des comptes Microsoft.

UseMicrosoftAccountAuthentication(IApplicationBuilder)

Source:
MicrosoftAccountAppBuilderExtensions.cs
Source:
MicrosoftAccountAppBuilderExtensions.cs

Attention

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

UseMicrosoftAccountAuthentication est obsolète. Configurer l’authentification MicrosoftAccount avec AddAuthentication(). AjoutezMicrosoftAccount dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

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

Paramètres

app
IApplicationBuilder

IApplicationBuilder à laquelle ajouter le gestionnaire.

Retours

Référence à cette instance à la fin de l’opération.

Attributs

S’applique à

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Source:
MicrosoftAccountAppBuilderExtensions.cs
Source:
MicrosoftAccountAppBuilderExtensions.cs

Attention

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

UseMicrosoftAccountAuthentication est obsolète. Configurer l’authentification MicrosoftAccount avec AddAuthentication(). AjoutezMicrosoftAccount dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

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

Paramètres

app
IApplicationBuilder

IApplicationBuilder à laquelle ajouter le gestionnaire.

options
MicrosoftAccountOptions

MicrosoftAccountOptions qui spécifie les options du gestionnaire.

Retours

Référence à cette instance à la fin de l’opération.

Attributs

S’applique à

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Ajoute le MicrosoftAccountMiddleware middleware au spécifié IApplicationBuilder, ce qui active les fonctionnalités d’authentification des comptes 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

Paramètres

app
IApplicationBuilder

IApplicationBuilder à laquelle ajouter le middleware.

options
MicrosoftAccountOptions

MicrosoftAccountOptions qui spécifie les options du middleware.

Retours

Référence à cette instance à la fin de l’opération.

S’applique à