Skip to content

Commit 429ee16

Browse files
committed
updated AuthenticationMiddleware for final
Signed-off-by: bidi <bidi@apidemia.com>
1 parent 699a98f commit 429ee16

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/App/src/Middleware/AuthenticationMiddleware.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use Api\App\UserIdentity;
88
use Api\User\Entity\UserRole;
9+
use Mezzio\Authentication\AuthenticationInterface;
910
use Mezzio\Authentication\UserInterface;
1011
use Psr\Http\Message\ResponseInterface;
1112
use Psr\Http\Message\ServerRequestInterface;
@@ -18,6 +19,7 @@ public function __construct(
1819
protected AuthenticationInterface $auth,
1920
) {
2021
}
22+
2123
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
2224
{
2325
$user = $this->auth->authenticate($request);

0 commit comments

Comments
 (0)