JwtBearerMiddleware.CreateHandler 方法

定义

由 AuthenticationMiddleware 基类调用,用于创建每个请求的处理程序。

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

返回

请求处理程序的新实例

适用于