- WIP on authentication

This commit is contained in:
mcndave committed 2023-11-09 13:38:07 -05:00
1 parent 9ae3e2d6f9
commit 0f2886b266
6 files changed
+189 -30

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Ulmus\User\Authorize\Header;
use Psr\Http\Message\ServerRequestInterface;
use Ulmus\User\Entity\UserInterface;
class BearerMethod
{
public function __construct(
protected UserInterface $user,
protected string $token
) {}
public function execute(ServerRequestInterface $request) : bool
{
return false;
}
}