mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Rewrite tests for OAuth2 validate and auth code complete steps [skip ci]
This commit is contained in:
16
api/components/OAuth2/Entities/UserEntity.php
Normal file
16
api/components/OAuth2/Entities/UserEntity.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace api\components\OAuth2\Entities;
|
||||
|
||||
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
||||
use League\OAuth2\Server\Entities\UserEntityInterface;
|
||||
|
||||
class UserEntity implements UserEntityInterface {
|
||||
use EntityTrait;
|
||||
|
||||
public function __construct($id) {
|
||||
$this->identifier = $id;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user