0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-24 00:29:35 +00:00
salesagility_SuiteCRM/Api/V8/OAuth2/Entity/UserEntity.php
2023-07-18 15:53:08 +01:00

30 lines
477 B
PHP

<?php
namespace Api\V8\OAuth2\Entity;
use League\OAuth2\Server\Entities\UserEntityInterface;
#[\AllowDynamicProperties]
class UserEntity implements UserEntityInterface
{
/**
* @var $userId
*/
private $userId;
/**
* @param string $userId
*/
public function __construct($userId)
{
$this->userId = $userId;
}
/**
* @inheritdoc
*/
public function getIdentifier()
{
return $this->userId;
}
}