Mental Space

JwtAuthMiddleware
in package
implements MiddlewareInterface

FinalYes

JWT Auth middleware.

Table of Contents

Interfaces

MiddlewareInterface

Properties

$jwtAuth  : JwtAuth
$responseFactory  : ResponseFactoryInterface

Methods

__construct()  : mixed
process()  : ResponseInterface

Properties

Methods

__construct()

public __construct(JwtAuth $jwtAuth, ResponseFactoryInterface $responseFactory) : mixed
Parameters
$jwtAuth : JwtAuth
$responseFactory : ResponseFactoryInterface

process()

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

        
On this page

Search results