ScopeEntityNameInterface.php in Simple OAuth (OAuth2) & OpenID Connect 5.x
Same filename and directory in other branches
Namespace
Drupal\simple_oauth\EntitiesFile
src/Entities/ScopeEntityNameInterface.phpView source
<?php
namespace Drupal\simple_oauth\Entities;
use Drupal\Core\Cache\CacheableDependencyInterface;
use League\OAuth2\Server\Entities\ScopeEntityInterface;
/**
* Extends the scope entity to include a name and description.
*/
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();
}
Interfaces
Name | Description |
---|---|
ScopeEntityNameInterface | Extends the scope entity to include a name and description. |