oauth2-server/src/Entities/Interfaces/ClientEntityInterface.php

30 lines
542 B
PHP
Raw Normal View History

2015-04-05 18:33:25 +05:30
<?php
2016-02-20 04:39:39 +05:30
2015-04-05 18:33:25 +05:30
namespace League\OAuth2\Server\Entities\Interfaces;
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
}