OpenIdConnectMiddleware.CreateHandler 方法

定义

AuthenticationHandler<TOptions>提供用于处理与身份验证相关的请求的 对象。

protected:
 override Microsoft::AspNetCore::Authentication::AuthenticationHandler<Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^> ^ CreateHandler();
protected override Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.OpenIdConnectOptions> CreateHandler ();
override this.CreateHandler : unit -> Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Builder.OpenIdConnectOptions>
Protected Overrides Function CreateHandler () As AuthenticationHandler(Of OpenIdConnectOptions)

返回

一个 AuthenticationHandler<TOptions> 配置了 OpenIdConnectOptions 提供给构造函数的 。

适用于