2015-04-05 18:33:25 +05:30
|
|
|
<?php
|
2016-02-20 04:39:39 +05:30
|
|
|
|
2016-03-15 05:40:47 +05:30
|
|
|
namespace LeagueTests\Stubs;
|
2015-04-05 18:33:25 +05:30
|
|
|
|
2016-04-09 19:55:45 +05:30
|
|
|
use League\OAuth2\Server\Entities\ClientEntityInterface;
|
2016-04-09 20:14:38 +05:30
|
|
|
use League\OAuth2\Server\Entities\Traits\ClientTrait;
|
2016-03-15 05:40:47 +05:30
|
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
|
|
|
|
class ClientEntity implements ClientEntityInterface
|
2015-04-05 18:33:25 +05:30
|
|
|
{
|
2016-04-09 20:14:38 +05:30
|
|
|
use EntityTrait, ClientTrait;
|
2016-03-15 05:40:47 +05:30
|
|
|
|
2016-04-09 20:14:38 +05:30
|
|
|
public function setRedirectUri($uri)
|
2015-04-05 18:33:25 +05:30
|
|
|
{
|
2016-04-09 20:14:38 +05:30
|
|
|
$this->redirectUri = $uri;
|
2015-04-05 18:33:25 +05:30
|
|
|
}
|
2018-08-13 01:04:58 +05:30
|
|
|
|
|
|
|
public function setIsConfidential()
|
|
|
|
{
|
|
|
|
$this->isConfidential = true;
|
|
|
|
}
|
2016-01-20 15:06:16 +05:30
|
|
|
}
|