次の方法で共有


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)

指定した IApplicationBuilderOpenIdConnectMiddleware ミドルウェアを追加します。これにより、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)

指定した IApplicationBuilderOpenIdConnectMiddleware ミドルウェアを追加します。これにより、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

戻り値

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

適用対象