2015-04-05 18:33:25 +05:30
|
|
|
<?php
|
2016-04-17 17:36:05 +05:30
|
|
|
/**
|
|
|
|
* @author Alex Bilbie <hello@alexbilbie.com>
|
|
|
|
* @copyright Copyright (c) Alex Bilbie
|
|
|
|
* @license http://mit-license.org/
|
|
|
|
*
|
|
|
|
* @link https://github.com/thephpleague/oauth2-server
|
|
|
|
*/
|
2016-02-20 04:39:39 +05:30
|
|
|
|
2016-04-09 19:55:32 +05:30
|
|
|
namespace League\OAuth2\Server\Entities;
|
2015-04-05 18:33:25 +05:30
|
|
|
|
|
|
|
interface ClientEntityInterface
|
|
|
|
{
|
|
|
|
/**
|
2016-02-20 04:39:39 +05:30
|
|
|
* Get the client's identifier.
|
|
|
|
*
|
2015-04-05 18:33:25 +05:30
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getIdentifier();
|
|
|
|
|
|
|
|
/**
|
2016-02-20 04:39:39 +05:30
|
|
|
* Get the client's name.
|
|
|
|
*
|
2015-04-05 18:33:25 +05:30
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getName();
|
|
|
|
|
2016-02-18 16:18:12 +05:30
|
|
|
/**
|
2016-04-09 18:06:08 +05:30
|
|
|
* Returns the registered redirect URI (as a string).
|
2016-02-18 16:18:12 +05:30
|
|
|
*
|
2016-04-09 18:06:08 +05:30
|
|
|
* Alternatively return an indexed array of redirect URIs.
|
|
|
|
*
|
|
|
|
* @return string|string[]
|
2016-02-18 16:18:12 +05:30
|
|
|
*/
|
|
|
|
public function getRedirectUri();
|
2015-04-05 18:33:25 +05:30
|
|
|
}
|