You are here

ClientEntityInterface.php in Simple OAuth (OAuth2) & OpenID Connect 8.2

File

src/Entities/ClientEntityInterface.php
View source
<?php

namespace Drupal\simple_oauth\Entities;

use League\OAuth2\Server\Entities\ClientEntityInterface as LeagueClientEntityInterface;
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\simple_oauth\Entity\Oauth2ClientInterface
   *   The Drupal entity.
   */
  public function getDrupalEntity();

}

Interfaces