AuthMiddleware
in package
implements
IMiddleware
Class AuthMiddleware
Tags
Interfaces, Classes and Traits
- IMiddleware
Table of Contents
- $authenticator : Authenticator
- $container : mixed
- $translator : Translator
- __construct() : mixed
- __invoke() : ResponseInterface
Properties
$authenticator
private
Authenticator
$authenticator
$container
private
mixed
$container
$translator
private
Translator
$translator
Methods
__construct()
public
__construct(Container $container) : mixed
Parameters
- $container : Container
Return values
mixed —__invoke()
public
__invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $response : ResponseInterface
- $next : callable