oauth2-server/tests/Stubs/ClientEntity.php
2016-04-09 15:44:38 +01:00

24 lines
460 B
PHP

<?php
namespace LeagueTests\Stubs;
use League\OAuth2\Server\Entities\ClientEntityInterface;
use League\OAuth2\Server\Entities\Traits\ClientTrait;
use League\OAuth2\Server\Entities\Traits\EntityTrait;
class ClientEntity implements ClientEntityInterface
{
use EntityTrait, ClientTrait;
public function setRedirectUri($uri)
{
$this->redirectUri = $uri;
}
public function setName($name)
{
$this->name = $name;
}
}