FacebookAppBuilderExtensions.UseFacebookAuthentication Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
UseFacebookAuthentication(IApplicationBuilder) |
Zastaralé.
Zastaralé.
UseFacebookAuthentication je zastaralá. Nakonfigurujte ověřování Facebook pomocí AddAuthentication(). AddFacebook v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu . |
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) |
Zastaralé.
Zastaralé.
UseFacebookAuthentication je zastaralá. Nakonfigurujte ověřování Facebook pomocí AddAuthentication(). AddFacebook v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu . |
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions) |
FacebookMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , který povolí možnosti ověřování na Facebooku. |
UseFacebookAuthentication(IApplicationBuilder)
Upozornění
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í Facebook pomocí AddAuthentication(). AddFacebook v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu .
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
Chcete-li IApplicationBuilder přidat obslužnou rutinu do.
Návraty
Odkaz na tuto instanci po dokončení operace.
- Atributy
Platí pro
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
Upozornění
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í Facebook pomocí AddAuthentication(). AddFacebook v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu .
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
Chcete-li IApplicationBuilder přidat obslužnou rutinu do.
- options
- FacebookOptions
A FacebookOptions , který určuje možnosti pro obslužnou rutinu.
Návraty
Odkaz na tuto instanci po dokončení operace.
- Atributy
Platí pro
UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
FacebookMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , který povolí 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
K IApplicationBuilder přidání middlewaru.
- options
- FacebookOptions
A FacebookOptions , který určuje možnosti pro middleware.
Návraty
Odkaz na tuto instanci po dokončení operace.