oauth2-server/src/Entities/ScopeEntity.php

23 lines
423 B
PHP
Raw Normal View History

2015-04-05 14:03:25 +01:00
<?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-12 22:59:33 +00:00
/**
* @inheritdoc
*/
function jsonSerialize()
{
return $this->getIdentifier();
}
2015-04-05 14:03:25 +01:00
}