oauth2-server/src/League/OAuth2/Server/Entities/Client.php

58 lines
909 B
PHP
Raw Normal View History

2013-12-24 22:31:11 +05:30
<?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;
}
}