We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699a98f commit 429ee16Copy full SHA for 429ee16
src/App/src/Middleware/AuthenticationMiddleware.php
@@ -6,6 +6,7 @@
6
7
use Api\App\UserIdentity;
8
use Api\User\Entity\UserRole;
9
+use Mezzio\Authentication\AuthenticationInterface;
10
use Mezzio\Authentication\UserInterface;
11
use Psr\Http\Message\ResponseInterface;
12
use Psr\Http\Message\ServerRequestInterface;
@@ -18,6 +19,7 @@ public function __construct(
18
19
protected AuthenticationInterface $auth,
20
) {
21
}
22
+
23
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
24
{
25
$user = $this->auth->authenticate($request);
0 commit comments