2016-03-15 21:54:36 +00:00
|
|
|
<?php
|
2016-04-17 13:06:05 +01:00
|
|
|
/**
|
|
|
|
* @author Alex Bilbie <hello@alexbilbie.com>
|
|
|
|
* @copyright Copyright (c) Alex Bilbie
|
|
|
|
* @license http://mit-license.org/
|
|
|
|
*
|
|
|
|
* @link https://github.com/thephpleague/oauth2-server
|
|
|
|
*/
|
2016-03-15 21:54:36 +00:00
|
|
|
|
|
|
|
namespace OAuth2ServerExamples\Entities;
|
|
|
|
|
2016-04-09 15:25:45 +01:00
|
|
|
use League\OAuth2\Server\Entities\ClientEntityInterface;
|
2016-04-09 15:27:44 +01:00
|
|
|
use League\OAuth2\Server\Entities\Traits\ClientTrait;
|
2016-03-15 21:54:36 +00:00
|
|
|
use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|
|
|
|
|
|
|
class ClientEntity implements ClientEntityInterface
|
|
|
|
{
|
2016-04-09 15:27:44 +01:00
|
|
|
use EntityTrait, ClientTrait;
|
2016-04-10 11:47:15 +01:00
|
|
|
|
|
|
|
public function setName($name)
|
|
|
|
{
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setRedirectUri($uri)
|
|
|
|
{
|
|
|
|
$this->redirectUri = $uri;
|
|
|
|
}
|
2016-03-15 17:54:45 -04:00
|
|
|
}
|