FacebookAppBuilderExtensions.UseFacebookAuthentication Metodo

Definizione

Overload

UseFacebookAuthentication(IApplicationBuilder)
Obsoleti.
Obsoleti.

UseFacebookAuthentication è obsoleto. Configurare l'autenticazione di Facebook con AddAuthentication(). AddFacebook in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)
Obsoleti.
Obsoleti.

UseFacebookAuthentication è obsoleto. Configurare l'autenticazione di Facebook con AddAuthentication(). AddFacebook in ConfigureServices. Per informazioni dettagliate, vedere https://go.microsoft.com/fwlink/?linkid=845470.

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Aggiunge il FacebookMiddleware middleware all'oggetto specificato IApplicationBuilder, che abilita le funzionalità di autenticazione di Facebook.

UseFacebookAuthentication(IApplicationBuilder)

Attenzione

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

UseFacebookAuthentication è obsoleto. Configurare l'autenticazione di Facebook con AddAuthentication(). AddFacebook in ConfigureServices. Per informazioni dettagliate, vedere 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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder a cui aggiungere il gestore.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Attenzione

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

UseFacebookAuthentication è obsoleto. Configurare l'autenticazione di Facebook con AddAuthentication(). AddFacebook in ConfigureServices. Per informazioni dettagliate, vedere 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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder a cui aggiungere il gestore.

options
FacebookOptions

Oggetto FacebookOptions che specifica le opzioni per il gestore.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseFacebookAuthentication(IApplicationBuilder, FacebookOptions)

Aggiunge il FacebookMiddleware middleware all'oggetto specificato IApplicationBuilder, che abilita le funzionalità di autenticazione di 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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder a cui aggiungere il middleware.

options
FacebookOptions

Oggetto FacebookOptions che specifica le opzioni per il middleware.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a