mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-11 15:58:58 +05:30
23 lines
471 B
PHP
23 lines
471 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 setConfidential()
|
|
{
|
|
$this->isConfidential = true;
|
|
}
|
|
}
|