JwtValidator
in package
implements
MiddlewareInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $config : ConfigInterface
- $jwtAuth : JwtAuthInterface
- $request : RequestInterface
- __construct() : mixed
- run() : void
- Runs the middleware
Properties
$config
private
ConfigInterface
$config
$jwtAuth
private
JwtAuthInterface
$jwtAuth
$request
private
RequestInterface
$request
Methods
__construct()
public
__construct(RequestInterface $request, JwtAuthInterface $jwtAuth, ConfigInterface $config) : mixed
Parameters
- $request : RequestInterface
- $jwtAuth : JwtAuthInterface
- $config : ConfigInterface
Return values
mixed —run()
Runs the middleware
public
run() : void