GoogleAppBuilderExtensions.UseGoogleAuthentication Método

Definição

Sobrecargas

UseGoogleAuthentication(IApplicationBuilder)
Obsoleto.

UseGoogleAuthentication está obsoleto. Configurar a autenticação do Google com AddAuthentication(). AddGoogle em ConfigureServices. Consulte https://go.microsoft.com/fwlink/?linkid=845470 para obter mais detalhes.

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
Obsoleto.

UseGoogleAuthentication está obsoleto. Configurar a autenticação do Google com AddAuthentication(). AddGoogle em ConfigureServices. Consulte https://go.microsoft.com/fwlink/?linkid=845470 para obter mais detalhes.

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Adiciona o GoogleMiddleware middleware ao especificado IApplicationBuilder, que habilita os recursos de autenticação do Google.

UseGoogleAuthentication(IApplicationBuilder)

Origem:
GoogleAppBuilderExtensions.cs
Origem:
GoogleAppBuilderExtensions.cs

Cuidado

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

UseGoogleAuthentication está obsoleto. Configurar a autenticação do Google com AddAuthentication(). AddGoogle em ConfigureServices. Consulte https://go.microsoft.com/fwlink/?linkid=845470 para obter mais detalhes.

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

Parâmetros

app
IApplicationBuilder

O IApplicationBuilder ao qual adicionar o manipulador.

Retornos

Uma referência a essa instância após a operação ter sido concluída.

Atributos

Aplica-se a

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Origem:
GoogleAppBuilderExtensions.cs
Origem:
GoogleAppBuilderExtensions.cs

Cuidado

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

UseGoogleAuthentication está obsoleto. Configurar a autenticação do Google com AddAuthentication(). AddGoogle em ConfigureServices. Consulte https://go.microsoft.com/fwlink/?linkid=845470 para obter mais detalhes.

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

Parâmetros

app
IApplicationBuilder

O IApplicationBuilder ao qual adicionar o manipulador.

options
GoogleOptions

Um GoogleOptions que especifica opções para o manipulador.

Retornos

Uma referência a essa instância após a operação ter sido concluída.

Atributos

Aplica-se a

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

Adiciona o GoogleMiddleware middleware ao especificado IApplicationBuilder, que habilita os recursos de autenticação do 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

Parâmetros

app
IApplicationBuilder

O IApplicationBuilder ao qual adicionar o middleware.

options
GoogleOptions

Um GoogleOptions que especifica opções para o middleware.

Retornos

Uma referência a essa instância após a operação ter sido concluída.

Aplica-se a