interface ClientEntityInterface in Simple OAuth (OAuth2) & OpenID Connect 5.x
Same name and namespace in other branches
- 8.4 src/Entities/ClientEntityInterface.php \Drupal\simple_oauth\Entities\ClientEntityInterface
- 8.2 src/Entities/ClientEntityInterface.php \Drupal\simple_oauth\Entities\ClientEntityInterface
- 8.3 src/Entities/ClientEntityInterface.php \Drupal\simple_oauth\Entities\ClientEntityInterface
Hierarchy
- interface \Drupal\simple_oauth\Entities\ClientEntityInterface extends \League\OAuth2\Server\Entities\ClientEntityInterface
Expanded class hierarchy of ClientEntityInterface
All classes that implement ClientEntityInterface
File
- src/
Entities/ ClientEntityInterface.php, line 7
Namespace
Drupal\simple_oauth\EntitiesView source
interface ClientEntityInterface extends LeagueClientEntityInterface {
/**
* Set the name of the client.
*
* @param string $name
* The name to set.
*/
public function setName($name);
/**
* Returns the associated Drupal entity.
*
* @return \Drupal\consumers\Entity\Consumer
* The Drupal entity.
*/
public function getDrupalEntity();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClientEntityInterface:: |
public | function | Returns the associated Drupal entity. | 1 |
ClientEntityInterface:: |
public | function | Set the name of the client. | 1 |