class OpenIdConnectScopeEntity in Simple OAuth (OAuth2) & OpenID Connect 5.x
The OpenID Connect scope entity.
Hierarchy
- class \Drupal\simple_oauth\Entities\ScopeEntity implements ScopeEntityNameInterface uses \League\OAuth2\Server\Entities\Traits\EntityTrait
- class \Drupal\simple_oauth\Entities\OpenIdConnectScopeEntity implements ScopeEntityNameInterface
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\EntitiesView 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
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 |
OpenIdConnectScopeEntity:: |
public | function |
OpenIdConnectScopeEntity constructor. Overrides ScopeEntity:: |
|
ScopeEntity:: |
protected | property | The name of this scope. | |
ScopeEntity:: |
public | function |
Returns a description for the scope. Overrides ScopeEntityNameInterface:: |
|
ScopeEntity:: |
public | function |
Returns a name for the scope. Overrides ScopeEntityNameInterface:: |
|
ScopeEntity:: |
public | function |