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

49 lines
846 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
* Set the client's identifier.
*
2015-04-05 18:33:25 +05:30
* @param $identifier
*/
public function setIdentifier($identifier);
/**
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-20 04:39:39 +05:30
* Set the client's name.
*
2015-04-05 18:33:25 +05:30
* @param string $name
*/
public function setName($name);
/**
2016-02-20 04:39:39 +05:30
* Set the client's redirect uri.
*
* @param string $redirectUri
*/
public function setRedirectUri($redirectUri);
/**
2016-02-20 04:39:39 +05:30
* Returns the registered redirect URI.
*
* @return string
*/
public function getRedirectUri();
2015-04-05 18:33:25 +05:30
}