Megosztás a következőn keresztül:


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 ref class JwtBearerMiddleware : Microsoft::AspNetCore::Authentication::AuthenticationMiddleware<Microsoft::AspNetCore::Builder::JwtBearerOptions ^>
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>)

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.

Properties

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

Methods

CreateHandler()

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

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

Applies to