mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-02-11 08:48:55 +00:00
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;
|
|
}
|
|
}
|