JwtBearerMiddleware JwtBearerMiddleware JwtBearerMiddleware Class

Definition

Bearer authentication middleware component which is added to an HTTP pipeline. This class is not created by application code directly, instead it is added by calling the the IAppBuilder UseJwtBearerAuthentication extension method.

public class JwtBearerMiddleware : Microsoft.AspNetCore.Authentication.AuthenticationMiddleware<Microsoft.AspNetCore.Builder.JwtBearerOptions>
type JwtBearerMiddleware = class
    inherit AuthenticationMiddleware<JwtBearerOptions>
Public Class JwtBearerMiddleware
Inherits AuthenticationMiddleware(Of JwtBearerOptions)
Inheritance

Constructors

JwtBearerMiddleware(RequestDelegate, ILoggerFactory, UrlEncoder, IOptions<JwtBearerOptions>) JwtBearerMiddleware(RequestDelegate, ILoggerFactory, UrlEncoder, IOptions<JwtBearerOptions>) JwtBearerMiddleware(RequestDelegate, ILoggerFactory, UrlEncoder, IOptions<JwtBearerOptions>)

Bearer authentication component which is added to an HTTP pipeline. This constructor is not called by application code directly, instead it is added by calling the the IAppBuilder UseJwtBearerAuthentication extension method.

Methods

CreateHandler() CreateHandler() CreateHandler()

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

Invoke(HttpContext) Invoke(HttpContext) Invoke(HttpContext) Inherited from AuthenticationMiddleware<TOptions>

Properties

AuthenticationScheme AuthenticationScheme AuthenticationScheme Inherited from AuthenticationMiddleware<TOptions>
Logger Logger Logger Inherited from AuthenticationMiddleware<TOptions>
Options Options Options Inherited from AuthenticationMiddleware<TOptions>
UrlEncoder UrlEncoder UrlEncoder Inherited from AuthenticationMiddleware<TOptions>

Applies to