Udostępnij za pośrednictwem


FacebookAppBuilderExtensions.UseFacebookAuthentication Metoda

Definicja

Przeciążenia

UseFacebookAuthentication(IApplicationBuilder)
Przestarzałe.
Przestarzałe.

UseFacebookAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania usługi Facebook przy użyciu polecenia AddAuthentication(). AddFacebook w elemecie ConfigureServices. Aby uzyskać więcej informacji, zobacz https://go.microsoft.com/fwlink/?linkid=845470 .

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
Przestarzałe.
Przestarzałe.

UseFacebookAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania usługi Facebook przy użyciu polecenia AddAuthentication(). AddFacebook w elemecie ConfigureServices. Aby uzyskać więcej informacji, zobacz https://go.microsoft.com/fwlink/?linkid=845470 .

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

FacebookMiddleware Dodaje oprogramowanie pośredniczące do określonego IApplicationBuilderelementu , co umożliwia uwierzytelnianie w serwisie Facebook.

UseFacebookAuthentication(IApplicationBuilder)

Źródło:
FacebookAppBuilderExtensions.cs
Źródło:
FacebookAppBuilderExtensions.cs

Przestroga

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

UseFacebookAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania usługi Facebook przy użyciu polecenia AddAuthentication(). AddFacebook w elemecie ConfigureServices. Aby uzyskać więcej informacji, zobacz 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

Element IApplicationBuilder do dodania programu obsługi.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Atrybuty

Dotyczy

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Źródło:
FacebookAppBuilderExtensions.cs
Źródło:
FacebookAppBuilderExtensions.cs

Przestroga

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

UseFacebookAuthentication jest przestarzałe. Konfigurowanie uwierzytelniania usługi Facebook przy użyciu polecenia AddAuthentication(). AddFacebook w elemecie ConfigureServices. Aby uzyskać więcej informacji, zobacz 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

Element IApplicationBuilder do dodania programu obsługi.

options
FacebookOptions

Element FacebookOptions określający opcje programu obsługi.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Atrybuty

Dotyczy

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

FacebookMiddleware Dodaje oprogramowanie pośredniczące do określonego IApplicationBuilderelementu , co umożliwia uwierzytelnianie w serwisie Facebook.

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

Element IApplicationBuilder do dodania oprogramowania pośredniczącego.

options
FacebookOptions

Element FacebookOptions określający opcje oprogramowania pośredniczącego.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Dotyczy