oauth2-server/src/Entities/ClientEntityInterface.php

37 lines
737 B
PHP
Raw Normal View History

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
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();
/**
* Returns the registered redirect URI (as a string).
*
* Alternatively return an indexed array of redirect URIs.
*
* @return string|string[]
*/
public function getRedirectUri();
2015-04-05 18:33:25 +05:30
}