mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +05:30
17 lines
322 B
PHP
17 lines
322 B
PHP
<?php
|
|
|
|
namespace LeagueTests\Stubs;
|
|
|
|
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
class ScopeEntity implements ScopeEntityInterface
|
|
{
|
|
use EntityTrait;
|
|
|
|
public function jsonSerialize()
|
|
{
|
|
return $this->getIdentifier();
|
|
}
|
|
}
|