for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace OAuth;
use League\OAuth2\Server\Entities\ClientEntityInterface;
class Client implements ClientEntityInterface
{
/**
* @var string
*/
protected $name;
* @var string|string[]
protected $redirectUri;
protected $identifier;
* @return mixed
public function getIdentifier()
return $this->identifier;
}
* @param mixed $identifier
public function setIdentifier($identifier)
$this->identifier = $identifier;
* Get the client's name.
*
* @return string
* @codeCoverageIgnore
public function getName()
return $this->name;
* Returns the registered redirect URI (as a string).
* Alternatively return an indexed array of redirect URIs.
* @return string|string[]
public function getRedirectUri()
return $this->redirectUri;