GoogleAppBuilderExtensions.UseGoogleAuthentication Metoda

Definice

Přetížení

UseGoogleAuthentication(IApplicationBuilder)
Zastaralé.

UseGoogleAuthentication je zastaralá. Nakonfigurujte ověřování Google pomocí AddAuthentication (). AddGoogle v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Zastaralé.

UseGoogleAuthentication je zastaralá. Nakonfigurujte ověřování Google pomocí AddAuthentication (). AddGoogle v ConfigureServices. Další podrobnosti najdete v tématu https://go.microsoft.com/fwlink/?linkid=845470 .

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Přidá GoogleMiddleware middleware do určeného rozhraní IApplicationBuilder , které umožňuje využívat možnosti ověřování Google.

UseGoogleAuthentication(IApplicationBuilder)

Upozornění

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

UseGoogleAuthentication je zastaralá. Nakonfigurujte ověřování Google pomocí AddAuthentication (). AddGoogle v ConfigureServices. Další podrobnosti najdete v tématu 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

Parametry

app
IApplicationBuilder

IApplicationBuilderPřidejte obslužnou rutinu do.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Upozornění

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

UseGoogleAuthentication je zastaralá. Nakonfigurujte ověřování Google pomocí AddAuthentication (). AddGoogle v ConfigureServices. Další podrobnosti najdete v tématu 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

Parametry

app
IApplicationBuilder

IApplicationBuilderPřidejte obslužnou rutinu do.

options
GoogleOptions

A GoogleOptions který určuje možnosti pro obslužnou rutinu.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Přidá GoogleMiddleware middleware do určeného rozhraní IApplicationBuilder , které umožňuje využívat možnosti ověřování 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

Parametry

app
IApplicationBuilder

IApplicationBuilderPřidejte middleware do.

options
GoogleOptions

A GoogleOptions který určuje možnosti pro middleware.

Návraty

IApplicationBuilder

Odkaz na tuto instanci po dokončení operace.

Platí pro