abstract class Oauth2GrantBase in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.2 src/Plugin/Oauth2GrantBase.php \Drupal\simple_oauth\Plugin\Oauth2GrantBase
- 8.3 src/Plugin/Oauth2GrantBase.php \Drupal\simple_oauth\Plugin\Oauth2GrantBase
- 5.x src/Plugin/Oauth2GrantBase.php \Drupal\simple_oauth\Plugin\Oauth2GrantBase
Base class for OAuth2 Grant plugins.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\simple_oauth\Plugin\Oauth2GrantBase implements Oauth2GrantInterface
Expanded class hierarchy of Oauth2GrantBase
5 files declare their use of Oauth2GrantBase
- AuthorizationCode.php in src/
Plugin/ Oauth2Grant/ AuthorizationCode.php - ClientCredentials.php in src/
Plugin/ Oauth2Grant/ ClientCredentials.php - Implicit.php in src/
Plugin/ Oauth2Grant/ Implicit.php - Password.php in src/
Plugin/ Oauth2Grant/ Password.php - RefreshToken.php in src/
Plugin/ Oauth2Grant/ RefreshToken.php
File
- src/
Plugin/ Oauth2GrantBase.php, line 11
Namespace
Drupal\simple_oauth\PluginView source
abstract class Oauth2GrantBase extends PluginBase implements Oauth2GrantInterface {
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Oauth2GrantBase:: |
public static | function |
Creates an instance of the plugin. Overrides ContainerFactoryPluginInterface:: |
4 |
Oauth2GrantInterface:: |
public | function | Gets the grant object. | 5 |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |