accounts/api/components/OAuth2/Entities/UserEntity.php

17 lines
338 B
PHP
Raw Normal View History

<?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;
}
}