You are here

class OpenIdConnectScopeEntity in Simple OAuth (OAuth2) & OpenID Connect 5.x

The OpenID Connect scope entity.

Hierarchy

Expanded class hierarchy of OpenIdConnectScopeEntity

1 file declares its use of OpenIdConnectScopeEntity
OpenIdConnectScopeRepository.php in src/OpenIdConnect/OpenIdConnectScopeRepository.php

File

src/Entities/OpenIdConnectScopeEntity.php, line 11

Namespace

Drupal\simple_oauth\Entities
View source
class OpenIdConnectScopeEntity extends ScopeEntity implements ScopeEntityNameInterface {

  /**
   * OpenIdConnectScopeEntity constructor.
   *
   * @param string $identifier
   *   The scope identifier.
   * @param string $name
   *   The scope name.
   */
  public function __construct($identifier, $name) {
    $this
      ->setIdentifier($identifier);
    $this->name = $name;
  }

}

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
OpenIdConnectScopeEntity::__construct public function OpenIdConnectScopeEntity constructor. Overrides ScopeEntity::__construct
ScopeEntity::$name protected property The name of this scope.
ScopeEntity::getDescription public function Returns a description for the scope. Overrides ScopeEntityNameInterface::getDescription
ScopeEntity::getName public function Returns a name for the scope. Overrides ScopeEntityNameInterface::getName
ScopeEntity::jsonSerialize public function