interface ScopeEntityNameInterface in Simple OAuth (OAuth2) & OpenID Connect 5.x
Same name and namespace in other branches
- 8.4 src/Entities/ScopeEntityNameInterface.php \Drupal\simple_oauth\Entities\ScopeEntityNameInterface
- 8.3 src/Entities/ScopeEntityNameInterface.php \Drupal\simple_oauth\Entities\ScopeEntityNameInterface
Extends the scope entity to include a name and description.
Hierarchy
- interface \Drupal\Core\Cache\CacheableDependencyInterface
- interface \Drupal\simple_oauth\Entities\ScopeEntityNameInterface extends \League\OAuth2\Server\Entities\ScopeEntityInterface
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\EntitiesView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyInterface:: |
public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface:: |
public | function | The maximum age for which this object may be cached. | 34 |
CacheableDependencyInterface:: |
public | function | The cache tags associated with this object. | 27 |
ScopeEntityNameInterface:: |
public | function | Returns a description for the scope. | 1 |
ScopeEntityNameInterface:: |
public | function | Returns a name for the scope. | 1 |