Bagikan melalui


GoogleExtensions.AddGoogle Metode

Definisi

Overload

AddGoogle(AuthenticationBuilder)

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

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

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

AddGoogle(AuthenticationBuilder)

Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

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

Parameter

Mengembalikan

Referensi ke builder setelah operasi selesai.

Berlaku untuk

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

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

Parameter

configureOptions
Action<GoogleOptions>

Delegasi untuk mengonfigurasi GoogleOptions.

Mengembalikan

Referensi ke builder setelah operasi selesai.

Berlaku untuk

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

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

Parameter

authenticationScheme
String

Skema autentikasi.

configureOptions
Action<GoogleOptions>

Delegasi untuk mengonfigurasi GoogleOptions.

Mengembalikan

Referensi ke builder setelah operasi selesai.

Berlaku untuk

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

Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs
Sumber:
GoogleExtensions.cs

Menambahkan autentikasi berbasis Google OAuth untuk AuthenticationBuilder menggunakan skema default. Skema default ditentukan oleh AuthenticationScheme.

Autentikasi Google memungkinkan pengguna aplikasi untuk masuk dengan akun Google mereka.

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

Parameter

authenticationScheme
String

Skema autentikasi.

displayName
String

Nama tampilan untuk handler autentikasi.

configureOptions
Action<GoogleOptions>

Delegasi untuk mengonfigurasi GoogleOptions.

Mengembalikan

Referensi ke builder setelah operasi selesai.

Berlaku untuk