共用方式為


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)

傳回

要求處理常式的新執行個體。

適用於