OpenIdConnectAppBuilderExtensions 類別

定義

將 OpenID Connect 驗證功能新增至 HTTP 應用程式管線的擴充方法。

public ref class OpenIdConnectAppBuilderExtensions abstract sealed
public static class OpenIdConnectAppBuilderExtensions
type OpenIdConnectAppBuilderExtensions = class
Public Module OpenIdConnectAppBuilderExtensions
繼承
OpenIdConnectAppBuilderExtensions

方法

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)

OpenIdConnectMiddleware 中介軟體新增至指定的 IApplicationBuilder ,以啟用 OpenID Connect 驗證功能。

適用於