oauth2-server/src/League/OAuth2/Server/Entities/Client.php
2013-12-24 17:01:11 +00:00

58 lines
909 B
PHP

<?php
namespace League\OAuth2\Server\Entities;
class Client
{
protected $id = null;
protected $secret = null;
protected $name = null;
protected $redirectUri = null;
public function setId($id)
{
$this->id = $id;
return $this;
}
public function getId()
{
return $this->id;
}
public function setSecret($secret)
{
$this->secret = $secret;
return $this;
}
public function getSecret()
{
return $this->secret;
}
public function setName($name)
{
$this->name = $name;
return $this;
}
public function getName()
{
return $this->name;
}
public function setRedirectUri($redirectUri)
{
$this->redirectUri = $redirectUri;
return $this;
}
public function getRedirectUri()
{
return $this->redirectUri;
}
}