oauth2-server/src/Entities/ScopeEntity.php

23 lines
430 B
PHP
Raw Normal View History

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