2015-04-05 18:33:25 +05:30
|
|
|
<?php
|
2016-02-20 04:39:39 +05:30
|
|
|
|
2015-04-05 18:33:25 +05:30
|
|
|
namespace League\OAuth2\Server\Entities;
|
|
|
|
|
|
|
|
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
|
|
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
|
|
|
|
/**
|
2016-02-20 04:39:39 +05:30
|
|
|
* Class ScopeEntity.
|
2015-04-05 18:33:25 +05:30
|
|
|
*/
|
|
|
|
class ScopeEntity implements ScopeEntityInterface
|
|
|
|
{
|
|
|
|
use EntityTrait;
|
2016-01-13 04:29:33 +05:30
|
|
|
|
|
|
|
/**
|
2016-02-20 04:39:39 +05:30
|
|
|
* {@inheritdoc}
|
2016-01-13 04:29:33 +05:30
|
|
|
*/
|
2016-01-20 15:06:16 +05:30
|
|
|
public function jsonSerialize()
|
2016-01-13 04:29:33 +05:30
|
|
|
{
|
|
|
|
return $this->getIdentifier();
|
|
|
|
}
|
2015-04-05 18:33:25 +05:30
|
|
|
}
|