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 身份验证功能。

适用于