GoogleAppBuilderExtensions.UseGoogleAuthentication メソッド

定義

オーバーロード

UseGoogleAuthentication(IApplicationBuilder)
古い.

UseGoogleAuthentication は廃止されました。 AddAuthentication() を使用して Google 認証を構成します。ConfigureServices の AddGoogle。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)
古い.

UseGoogleAuthentication は廃止されました。 AddAuthentication() を使用して Google 認証を構成します。ConfigureServices の AddGoogle。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

指定した GoogleMiddlewareIApplicationBuilderにミドルウェアを追加します。これにより、Google 認証機能が有効になります。

UseGoogleAuthentication(IApplicationBuilder)

注意事項

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseGoogleAuthentication は廃止されました。 AddAuthentication() を使用して Google 認証を構成します。ConfigureServices の AddGoogle。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilderハンドラーを追加する 。

戻り値

操作が完了した後のこのインスタンスへの参照。

属性

適用対象

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

注意事項

UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseGoogleAuthentication は廃止されました。 AddAuthentication() を使用して Google 認証を構成します。ConfigureServices の AddGoogle。 詳細については、 https://go.microsoft.com/fwlink/?linkid=845470 をご覧ください。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::Google::GoogleOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Google.GoogleOptions options);
[System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Google.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Google.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<System.Obsolete("UseGoogleAuthentication is obsolete. Configure Google authentication with AddAuthentication().AddGoogle in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)>]
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Google.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilderハンドラーを追加する 。

options
GoogleOptions

GoogleOptionsハンドラーのオプションを指定する 。

戻り値

操作が完了した後のこのインスタンスへの参照。

属性

適用対象

UseGoogleAuthentication(IApplicationBuilder, GoogleOptions)

指定した GoogleMiddlewareIApplicationBuilderにミドルウェアを追加します。これにより、Google 認証機能が有効になります。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseGoogleAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::GoogleOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseGoogleAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.GoogleOptions options);
static member UseGoogleAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.GoogleOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseGoogleAuthentication (app As IApplicationBuilder, options As GoogleOptions) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilderミドルウェアを追加する 。

options
GoogleOptions

GoogleOptionsミドルウェアのオプションを指定する 。

戻り値

操作が完了した後のこのインスタンスへの参照。

適用対象