mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 08:17:18 +08:00
git-subtree-dir: public/legacy git-subtree-split: 817a12dc0c30c189f56d5cb1f7dc37a9631bdbe3
28 lines
450 B
PHP
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;
|
|
}
|
|
}
|