UserAuthMiddleware
in package
implements
MiddlewareInterface
FinalYes
Class UserAuthMiddleware
Table of Contents
Interfaces
- MiddlewareInterface
Properties
- $responseFactory : ResponseFactoryInterface
- $session : SessionInterface
Methods
- __construct() : mixed
- process() : ResponseInterface
Properties
$responseFactory
private
ResponseFactoryInterface
$responseFactory
$session
private
SessionInterface
$session
Methods
__construct()
public
__construct(ResponseFactoryInterface $responseFactory, SessionInterface $session) : mixed
Parameters
- $responseFactory : ResponseFactoryInterface
- $session : SessionInterface
process()
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface