GoogleAppBuilderExtensions.UseGoogleAuthentication Metodo

Definizione

Overload

Nome Descrizione
UseGoogleAuthentication(IApplicationBuilder)
Obsoleti.

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

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Obsoleti.

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

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

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

UseGoogleAuthentication(IApplicationBuilder)

Origine:
GoogleAppBuilderExtensions.cs
Origine:
GoogleAppBuilderExtensions.cs

Attenzione

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

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

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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al gestore.

Valori restituiti

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Origine:
GoogleAppBuilderExtensions.cs
Origine:
GoogleAppBuilderExtensions.cs

Attenzione

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

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

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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al gestore.

options
GoogleOptions

Oggetto GoogleOptions che specifica le opzioni per il gestore.

Valori restituiti

Riferimento a questa istanza dopo il completamento dell'operazione.

Attributi

Si applica a

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

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

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

Parametri

app
IApplicationBuilder

Oggetto IApplicationBuilder da aggiungere al middleware.

options
GoogleOptions

Oggetto GoogleOptions che specifica le opzioni per il middleware.

Valori restituiti

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a