Compartir a través de


GoogleExtensions.AddGoogle Método

Definición

Sobrecargas

AddGoogle(AuthenticationBuilder)

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

AddGoogle(AuthenticationBuilder, String, String, Action<GoogleOptions>)

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

AddGoogle(AuthenticationBuilder)

Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddGoogle (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddGoogle : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddGoogle (builder As AuthenticationBuilder) As AuthenticationBuilder

Parámetros

Devoluciones

Referencia a builder una vez completada la operación.

Se aplica a

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddGoogle (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> configureOptions);
static member AddGoogle : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddGoogle (builder As AuthenticationBuilder, configureOptions As Action(Of GoogleOptions)) As AuthenticationBuilder

Parámetros

configureOptions
Action<GoogleOptions>

Delegado para configurar GoogleOptions.

Devoluciones

Referencia a builder una vez completada la operación.

Se aplica a

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddGoogle (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> configureOptions);
static member AddGoogle : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddGoogle (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of GoogleOptions)) As AuthenticationBuilder

Parámetros

authenticationScheme
String

Esquema de autenticación.

configureOptions
Action<GoogleOptions>

Delegado para configurar GoogleOptions.

Devoluciones

Referencia a builder una vez completada la operación.

Se aplica a

AddGoogle(AuthenticationBuilder, String, String, Action<GoogleOptions>)

Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs
Source:
GoogleExtensions.cs

Agrega la autenticación basada en OAuth de Google al AuthenticationBuilder uso del esquema predeterminado. El esquema predeterminado se especifica mediante AuthenticationScheme.

La autenticación de Google permite a los usuarios de la aplicación iniciar sesión con su cuenta de Google.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddGoogle (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> configureOptions);
static member AddGoogle : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.Google.GoogleOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddGoogle (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of GoogleOptions)) As AuthenticationBuilder

Parámetros

authenticationScheme
String

Esquema de autenticación.

displayName
String

Nombre para mostrar del controlador de autenticación.

configureOptions
Action<GoogleOptions>

Delegado para configurar GoogleOptions.

Devoluciones

Referencia a builder una vez completada la operación.

Se aplica a