oauth2-server/tests/Stubs/ClientEntity.php

24 lines
460 B
PHP
Raw Normal View History

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
}
public function setName($name)
{
$this->name = $name;
}
}