\App\MiddlewareLoginAuthMiddleware

LoginAuthMiddleware 验证是否登录了,没有登录用户进行拦截

Summary

Methods
Properties
Constants
__construct()
process()
No public properties found
No constants found
No protected methods found
$container
N/A
No private methods found
$auth
N/A

Properties

$container

$container : \Psr\Container\ContainerInterface

Type

\Psr\Container\ContainerInterface

Methods

__construct()

__construct(\Psr\Container\ContainerInterface  $container) 

Parameters

\Psr\Container\ContainerInterface $container

process()

process(\Psr\Http\Message\ServerRequestInterface  $request, \Psr\Http\Server\RequestHandlerInterface  $handler) 

Parameters

\Psr\Http\Message\ServerRequestInterface $request
\Psr\Http\Server\RequestHandlerInterface $handler