FacebookAppBuilderExtensions.UseFacebookAuthentication Metoda

Definice

Přetížení

UseFacebookAuthentication(IApplicationBuilder)
Zastaralé.
Zastaralé.

UseFacebookAuthentication je zastaralá. Nakonfigurujte ověřování na Facebooku pomocí AddAuthentication (). AddFacebook v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
Zastaralé.
Zastaralé.

UseFacebookAuthentication je zastaralá. Nakonfigurujte ověřování na Facebooku pomocí AddAuthentication (). AddFacebook v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Přidá FacebookMiddleware middleware do určeného IApplicationBuilder , který umožňuje možnosti ověřování na Facebooku.

UseFacebookAuthentication(IApplicationBuilder)

Upozornění

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

UseFacebookAuthentication je zastaralá. Nakonfigurujte ověřování na Facebooku pomocí AddAuthentication (). AddFacebook v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

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

Parametry

app
IApplicationBuilder

IApplicationBuilderPřidejte obslužnou rutinu do.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Upozornění

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

UseFacebookAuthentication je zastaralá. Nakonfigurujte ověřování na Facebooku pomocí AddAuthentication (). AddFacebook v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

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

Parametry

app
IApplicationBuilder

IApplicationBuilderPřidejte obslužnou rutinu do.

options
FacebookOptions

A FacebookOptions který určuje možnosti pro obslužnou rutinu.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Přidá FacebookMiddleware middleware do určeného IApplicationBuilder , který umožňuje možnosti ověřování na Facebooku.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseFacebookAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::FacebookOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseFacebookAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.FacebookOptions options);
static member UseFacebookAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.FacebookOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseFacebookAuthentication (app As IApplicationBuilder, options As FacebookOptions) As IApplicationBuilder

Parametry

app
IApplicationBuilder

IApplicationBuilderPřidejte middleware do.

options
FacebookOptions

A FacebookOptions který určuje možnosti pro middleware.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Platí pro