You are here

interface ScopeEntityNameInterface in Simple OAuth (OAuth2) & OpenID Connect 5.x

Same name and namespace in other branches
  1. 8.4 src/Entities/ScopeEntityNameInterface.php \Drupal\simple_oauth\Entities\ScopeEntityNameInterface
  2. 8.3 src/Entities/ScopeEntityNameInterface.php \Drupal\simple_oauth\Entities\ScopeEntityNameInterface

Extends the scope entity to include a name and description.

Hierarchy

Expanded class hierarchy of ScopeEntityNameInterface

All classes that implement ScopeEntityNameInterface

1 file declares its use of ScopeEntityNameInterface
OpenIdConnectScopeEntity.php in src/Entities/OpenIdConnectScopeEntity.php

File

src/Entities/ScopeEntityNameInterface.php, line 11

Namespace

Drupal\simple_oauth\Entities
View source
interface ScopeEntityNameInterface extends ScopeEntityInterface, CacheableDependencyInterface {

  /**
   * Returns a name for the scope.
   *
   * @return string
   *   The name of the scope.
   */
  public function getName();

  /**
   * Returns a description for the scope.
   *
   * @return string|null
   *   The description of the scope.
   */
  public function getDescription();

}

Members

Namesort descending Modifiers Type Description Overrides
CacheableDependencyInterface::getCacheContexts public function The cache contexts associated with this object. 34
CacheableDependencyInterface::getCacheMaxAge public function The maximum age for which this object may be cached. 34
CacheableDependencyInterface::getCacheTags public function The cache tags associated with this object. 27
ScopeEntityNameInterface::getDescription public function Returns a description for the scope. 1
ScopeEntityNameInterface::getName public function Returns a name for the scope. 1