0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-11 08:48:55 +00:00
salesagility_SuiteCRM/Api/V8/OAuth2/Entity/UserEntity.php
2020-04-16 22:18:03 +01:00

28 lines
450 B
PHP

<?php
namespace Api\V8\OAuth2\Entity;
use League\OAuth2\Server\Entities\UserEntityInterface;
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;
}
}