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 参照。

適用対象