mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Added helper methods
This commit is contained in:
@@ -9,4 +9,14 @@ use League\OAuth2\Server\Entities\Traits\EntityTrait;
|
|||||||
class ClientEntity implements ClientEntityInterface
|
class ClientEntity implements ClientEntityInterface
|
||||||
{
|
{
|
||||||
use EntityTrait, ClientTrait;
|
use EntityTrait, ClientTrait;
|
||||||
|
|
||||||
|
public function setName($name)
|
||||||
|
{
|
||||||
|
$this->name = $name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setRedirectUri($uri)
|
||||||
|
{
|
||||||
|
$this->redirectUri = $uri;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user