mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-15 16:22:09 +05:30
30 lines
539 B
PHP
30 lines
539 B
PHP
|
<?php
|
||
|
namespace League\OAuth2\Server\Entities\Interfaces;
|
||
|
|
||
|
interface ClientEntityInterface
|
||
|
{
|
||
|
/**
|
||
|
* Get the client's identifier
|
||
|
* @return string
|
||
|
*/
|
||
|
public function getIdentifier();
|
||
|
|
||
|
/**
|
||
|
* Set the client's identifier
|
||
|
* @param $identifier
|
||
|
*/
|
||
|
public function setIdentifier($identifier);
|
||
|
|
||
|
/**
|
||
|
* Get the client's name
|
||
|
* @return string
|
||
|
*/
|
||
|
public function getName();
|
||
|
|
||
|
/**
|
||
|
* Set the client's name
|
||
|
* @param string $name
|
||
|
*/
|
||
|
public function setName($name);
|
||
|
}
|