oauth2-server/tests/Stubs/ClientEntity.php
2018-08-12 20:34:58 +01:00

23 lines
473 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 setIsConfidential()
{
$this->isConfidential = true;
}
}