mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-18 11:09:49 +05:30
58 lines
909 B
PHP
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;
|
|
}
|
|
} |