次の方法で共有


OpenIdConnectAppBuilderExtensions.UseOpenIdConnectAuthentication メソッド

定義

オーバーロード

UseOpenIdConnectAuthentication(IApplicationBuilder)
古い.
古い.

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

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)
古い.
古い.

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

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

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

UseOpenIdConnectAuthentication(IApplicationBuilder)

ソース:
OpenIdConnectAppBuilderExtensions.cs
ソース:
OpenIdConnectAppBuilderExtensions.cs

注意事項

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

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

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

パラメーター

app
IApplicationBuilder

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

戻り値

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

属性

適用対象

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

ソース:
OpenIdConnectAppBuilderExtensions.cs
ソース:
OpenIdConnectAppBuilderExtensions.cs

注意事項

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

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

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

パラメーター

app
IApplicationBuilder

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

options
OpenIdConnectOptions

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

戻り値

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

属性

適用対象

UseOpenIdConnectAuthentication(IApplicationBuilder, OpenIdConnectOptions)

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

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

パラメーター

app
IApplicationBuilder

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

options
OpenIdConnectOptions

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

戻り値

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

適用対象