FacebookAppBuilderExtensions.UseFacebookAuthentication Metoda
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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. |
Przestroga
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
Element IApplicationBuilder do dodania programu obsługi.
Zwraca
Odwołanie do tego wystąpienia po zakończeniu operacji.
- Atrybuty
Dotyczy
ASP.NET Core 2.2 i inne wersje
Produkt | Wersje (Przestarzałe) |
---|---|
ASP.NET Core | 1.0, 1.1 (2.0, 2.1, 2.2) |
Przestroga
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
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
ASP.NET Core 2.2 i inne wersje
Produkt | Wersje (Przestarzałe) |
---|---|
ASP.NET Core | (2.0, 2.1, 2.2) |
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
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
ASP.NET Core 1.1 i ASP.NET Core 1.0
Produkt | Wersje |
---|---|
ASP.NET Core | 1.0, 1.1 |