oauth2-server/src/Entities/ClientEntityInterface.php

30 lines
531 B
PHP
Raw Normal View History

2015-04-05 14:03:25 +01:00
<?php
2016-02-19 18:09:39 -05: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();
/**
* 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 14:03:25 +01:00
}