Implermented login
This commit is contained in:
parent
923d6ca242
commit
51c20b55a0
30 changed files with 2495 additions and 39 deletions
12
src/php/Login/LoginProvider.php
Normal file
12
src/php/Login/LoginProvider.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace GamesShop\Login;
|
||||
|
||||
use GamesShop\Entities\Account\User;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
||||
interface LoginProvider
|
||||
{
|
||||
public function getUser(ServerRequestInterface $request): User;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue