MicrosoftAccountAppBuilderExtensions.UseMicrosoftAccountAuthentication Methode

Definition

Überlädt

UseMicrosoftAccountAuthentication(IApplicationBuilder)
Veraltet.
Veraltet.

UseMicrosoftAccountAuthentication ist veraltet. Konfigurieren Sie die MicrosoftAccount-Authentifizierung mit AddAuthentication(). Fügen SieMicrosoftAccount in ConfigureServices hinzu. Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=845470.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)
Veraltet.
Veraltet.

UseMicrosoftAccountAuthentication ist veraltet. Konfigurieren Sie die MicrosoftAccount-Authentifizierung mit AddAuthentication(). Fügen SieMicrosoftAccount in ConfigureServices hinzu. Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=845470.

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Fügt die MicrosoftAccountMiddleware Middleware der angegebenen IApplicationBuilderhinzu, wodurch Authentifizierungsfunktionen für Microsoft-Konten aktiviert werden.

UseMicrosoftAccountAuthentication(IApplicationBuilder)

Quelle:
MicrosoftAccountAppBuilderExtensions.cs
Quelle:
MicrosoftAccountAppBuilderExtensions.cs

Achtung

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

UseMicrosoftAccountAuthentication ist veraltet. Konfigurieren Sie die MicrosoftAccount-Authentifizierung mit AddAuthentication(). Fügen SieMicrosoftAccount in ConfigureServices hinzu. Weitere Informationen finden Sie unter 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

Parameter

app
IApplicationBuilder

Der , IApplicationBuilder dem der Handler hinzugefügt werden soll.

Gibt zurück

Ein Verweis auf diese Instanz, nachdem der Vorgang abgeschlossen ist.

Attribute

Gilt für:

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Quelle:
MicrosoftAccountAppBuilderExtensions.cs
Quelle:
MicrosoftAccountAppBuilderExtensions.cs

Achtung

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

UseMicrosoftAccountAuthentication ist veraltet. Konfigurieren Sie die MicrosoftAccount-Authentifizierung mit AddAuthentication(). Fügen SieMicrosoftAccount in ConfigureServices hinzu. Weitere Informationen finden Sie unter 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

Parameter

app
IApplicationBuilder

Der , IApplicationBuilder dem der Handler hinzugefügt werden soll.

options
MicrosoftAccountOptions

Eine MicrosoftAccountOptions , die Optionen für den Handler angibt.

Gibt zurück

Ein Verweis auf diese Instanz, nachdem der Vorgang abgeschlossen ist.

Attribute

Gilt für:

UseMicrosoftAccountAuthentication(IApplicationBuilder, MicrosoftAccountOptions)

Fügt die MicrosoftAccountMiddleware Middleware der angegebenen IApplicationBuilderhinzu, wodurch Authentifizierungsfunktionen für Microsoft-Konten aktiviert werden.

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

Parameter

app
IApplicationBuilder

Der, IApplicationBuilder dem die Middleware hinzugefügt werden soll.

options
MicrosoftAccountOptions

Eine MicrosoftAccountOptions , die Optionen für die Middleware angibt.

Gibt zurück

Ein Verweis auf diese Instanz, nachdem der Vorgang abgeschlossen ist.

Gilt für: