mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
23 lines
401 B
PHP
23 lines
401 B
PHP
<?php
|
|
|
|
namespace League\OAuth2\Server\Entities;
|
|
|
|
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
/**
|
|
* Class ScopeEntity.
|
|
*/
|
|
class ScopeEntity implements ScopeEntityInterface
|
|
{
|
|
use EntityTrait;
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function jsonSerialize()
|
|
{
|
|
return $this->getIdentifier();
|
|
}
|
|
}
|