GoogleExtensions.AddGoogle Metoda

Definice

Přetížení

AddGoogle(AuthenticationBuilder)

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu Google.

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu Google.

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu Google.

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

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu Google.

AddGoogle(AuthenticationBuilder)

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu 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

Parametry

Návraty

Odkaz na builder po dokončení operace.

Platí pro

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu 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

Parametry

configureOptions
Action<GoogleOptions>

Delegát pro konfiguraci GoogleOptions.

Návraty

Odkaz na builder po dokončení operace.

Platí pro

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu 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

Parametry

authenticationScheme
String

Schéma ověřování.

configureOptions
Action<GoogleOptions>

Delegát pro konfiguraci GoogleOptions.

Návraty

Odkaz na builder po dokončení operace.

Platí pro

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

Přidá ověřování na základě Google OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno pomocí AuthenticationScheme.

Ověřování Google umožňuje uživatelům aplikace přihlásit se pomocí svého účtu 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

Parametry

authenticationScheme
String

Schéma ověřování.

displayName
String

Zobrazovaný název obslužné rutiny ověřování.

configureOptions
Action<GoogleOptions>

Delegát pro konfiguraci GoogleOptions.

Návraty

Odkaz na builder po dokončení operace.

Platí pro