You are here

interface ClientEntityInterface in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8.2 src/Entities/ClientEntityInterface.php \Drupal\simple_oauth\Entities\ClientEntityInterface
  2. 8.3 src/Entities/ClientEntityInterface.php \Drupal\simple_oauth\Entities\ClientEntityInterface
  3. 5.x 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\Entities
View 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

Namesort descending Modifiers Type Description Overrides
ClientEntityInterface::getDrupalEntity public function Returns the associated Drupal entity. 1
ClientEntityInterface::setName public function Set the name of the client. 1