GoogleExtensions.AddGoogle Method

Definition

Overloads

AddGoogle(AuthenticationBuilder)

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

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

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

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
Source:
GoogleExtensions.cs

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

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

Parameters

Returns

A reference to builder after the operation has completed.

Applies to

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
Source:
GoogleExtensions.cs

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

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

Parameters

configureOptions
Action<GoogleOptions>

A delegate to configure GoogleOptions.

Returns

A reference to builder after the operation has completed.

Applies to

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
Source:
GoogleExtensions.cs

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

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

Parameters

authenticationScheme
String

The authentication scheme.

configureOptions
Action<GoogleOptions>

A delegate to configure GoogleOptions.

Returns

A reference to builder after the operation has completed.

Applies to

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
Source:
GoogleExtensions.cs

Adds Google OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Google authentication allows application users to sign in with their Google account.

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

Parameters

authenticationScheme
String

The authentication scheme.

displayName
String

A display name for the authentication handler.

configureOptions
Action<GoogleOptions>

A delegate to configure GoogleOptions.

Returns

A reference to builder after the operation has completed.

Applies to