2015-04-05 14:03:25 +01:00
|
|
|
<?php
|
2016-02-19 18:09:39 -05:00
|
|
|
|
2015-04-05 14:03:25 +01:00
|
|
|
namespace League\OAuth2\Server\Entities;
|
|
|
|
|
|
|
|
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
|
|
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
|
|
|
|
/**
|
2016-02-19 18:09:39 -05:00
|
|
|
* Class ScopeEntity.
|
2015-04-05 14:03:25 +01:00
|
|
|
*/
|
|
|
|
class ScopeEntity implements ScopeEntityInterface
|
|
|
|
{
|
|
|
|
use EntityTrait;
|
2016-01-12 22:59:33 +00:00
|
|
|
|
|
|
|
/**
|
2016-02-19 18:09:39 -05:00
|
|
|
* {@inheritdoc}
|
2016-01-12 22:59:33 +00:00
|
|
|
*/
|
2016-01-20 10:36:16 +01:00
|
|
|
public function jsonSerialize()
|
2016-01-12 22:59:33 +00:00
|
|
|
{
|
|
|
|
return $this->getIdentifier();
|
|
|
|
}
|
2015-04-05 14:03:25 +01:00
|
|
|
}
|