GoogleExtensions.AddGoogle Метод

Определение

Перегрузки

AddGoogle(AuthenticationBuilder)

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи Google.

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи Google.

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи Google.

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

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи Google.

AddGoogle(AuthenticationBuilder)

Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи 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

Параметры

Возвращаемое значение

Ссылка на builder после завершения операции.

Применяется к

AddGoogle(AuthenticationBuilder, Action<GoogleOptions>)

Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи 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

Параметры

configureOptions
Action<GoogleOptions>

Делегат для настройки GoogleOptions.

Возвращаемое значение

Ссылка на builder после завершения операции.

Применяется к

AddGoogle(AuthenticationBuilder, String, Action<GoogleOptions>)

Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи 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

Параметры

authenticationScheme
String

Схема проверки подлинности.

configureOptions
Action<GoogleOptions>

Делегат для настройки GoogleOptions.

Возвращаемое значение

Ссылка на builder после завершения операции.

Применяется к

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

Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs
Исходный код:
GoogleExtensions.cs

Добавляет проверку подлинности на основе Google OAuth в схему AuthenticationBuilder по умолчанию. Схема по умолчанию задается параметром AuthenticationScheme.

Проверка подлинности Google позволяет пользователям приложений выполнять вход с помощью учетной записи 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

Параметры

authenticationScheme
String

Схема проверки подлинности.

displayName
String

Отображаемое имя обработчика проверки подлинности.

configureOptions
Action<GoogleOptions>

Делегат для настройки GoogleOptions.

Возвращаемое значение

Ссылка на builder после завершения операции.

Применяется к