oauth2-server/tests/Stubs/ClientEntity.php

23 lines
459 B
PHP
Raw Normal View History

2015-04-05 14:03:25 +01:00
<?php
2016-02-19 18:09:39 -05:00
2016-03-15 01:10:47 +01:00
namespace LeagueTests\Stubs;
2015-04-05 14:03:25 +01:00
2016-04-09 15:25:45 +01:00
use League\OAuth2\Server\Entities\ClientEntityInterface;
2016-04-09 15:44:38 +01:00
use League\OAuth2\Server\Entities\Traits\ClientTrait;
2016-03-15 01:10:47 +01:00
use League\OAuth2\Server\Entities\Traits\EntityTrait;
class ClientEntity implements ClientEntityInterface
2015-04-05 14:03:25 +01:00
{
2016-04-09 15:44:38 +01:00
use EntityTrait, ClientTrait;
2016-03-15 01:10:47 +01:00
2016-04-09 15:44:38 +01:00
public function setRedirectUri($uri)
2015-04-05 14:03:25 +01:00
{
2016-04-09 15:44:38 +01:00
$this->redirectUri = $uri;
2015-04-05 14:03:25 +01:00
}
public function setName($name)
{
$this->name = $name;
}
}