Added entities

This commit is contained in:
Alex Bilbie
2013-12-24 17:01:11 +00:00
parent 337cb088e9
commit bc74aff46d
6 changed files with 591 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<?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;
}
}