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 https://go.microsoft.com/fwlink/?linkid=845470 v tématu .

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Zastaralé.

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

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

GoogleMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , který umožňuje ověřování Google.

UseGoogleAuthentication(IApplicationBuilder)

Zdroj:
GoogleAppBuilderExtensions.cs
Zdroj:
GoogleAppBuilderExtensions.cs

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 https://go.microsoft.com/fwlink/?linkid=845470 v tématu .

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

Chcete-li IApplicationBuilder přidat obslužnou rutinu do.

Návraty

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Zdroj:
GoogleAppBuilderExtensions.cs
Zdroj:
GoogleAppBuilderExtensions.cs

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 https://go.microsoft.com/fwlink/?linkid=845470 v tématu .

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

Chcete-li IApplicationBuilder přidat obslužnou rutinu do.

options
GoogleOptions

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

Návraty

Odkaz na tuto instanci po dokončení operace.

Atributy

Platí pro

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

GoogleMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , který umožňuje 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

K IApplicationBuilder přidání middlewaru.

options
GoogleOptions

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

Návraty

Odkaz na tuto instanci po dokončení operace.

Platí pro