oauth2-server/src/Entities/ScopeEntity.php

23 lines
423 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
*/
function jsonSerialize()
{
return $this->getIdentifier();
}
2015-04-05 18:33:25 +05:30
}