2015-04-05 14:03:25 +01:00
|
|
|
<?php
|
2016-02-19 18:09:39 -05:00
|
|
|
|
2016-04-09 15:25:32 +01:00
|
|
|
namespace League\OAuth2\Server\Entities;
|
2015-04-05 14:03:25 +01:00
|
|
|
|
|
|
|
interface ClientEntityInterface
|
|
|
|
{
|
|
|
|
/**
|
2016-02-19 18:09:39 -05:00
|
|
|
* Get the client's identifier.
|
|
|
|
*
|
2015-04-05 14:03:25 +01:00
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getIdentifier();
|
|
|
|
|
|
|
|
/**
|
2016-02-19 18:09:39 -05:00
|
|
|
* Get the client's name.
|
|
|
|
*
|
2015-04-05 14:03:25 +01:00
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getName();
|
|
|
|
|
2016-02-18 10:48:12 +00:00
|
|
|
/**
|
2016-04-09 13:36:08 +01:00
|
|
|
* Returns the registered redirect URI (as a string).
|
2016-02-18 10:48:12 +00:00
|
|
|
*
|
2016-04-09 13:36:08 +01:00
|
|
|
* Alternatively return an indexed array of redirect URIs.
|
|
|
|
*
|
|
|
|
* @return string|string[]
|
2016-02-18 10:48:12 +00:00
|
|
|
*/
|
|
|
|
public function getRedirectUri();
|
2015-04-05 14:03:25 +01:00
|
|
|
}
|