Delen via


JwtBearerMiddleware.CreateHandler Method

Definition

Called by the AuthenticationMiddleware base class to create a per-request handler.

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)

Returns

A new instance of the request handler

Applies to