class Code in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 5.x src/Plugin/Oauth2Grant/Code.php \Drupal\simple_oauth\Plugin\Oauth2Grant\Code
The autorization code grant plugin.
Plugin annotation
@Oauth2Grant(
id = "code",
label = @Translation("Code")
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\simple_oauth\Plugin\Oauth2GrantBase implements Oauth2GrantInterface
- class \Drupal\simple_oauth\Plugin\Oauth2Grant\AuthorizationCode
- class \Drupal\simple_oauth\Plugin\Oauth2Grant\Code
- class \Drupal\simple_oauth\Plugin\Oauth2Grant\AuthorizationCode
- class \Drupal\simple_oauth\Plugin\Oauth2GrantBase implements Oauth2GrantInterface
Expanded class hierarchy of Code
File
- src/
Plugin/ Oauth2Grant/ Code.php, line 13
Namespace
Drupal\simple_oauth\Plugin\Oauth2GrantView source
class Code extends AuthorizationCode {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthorizationCode:: |
protected | property | The expiration for the code. | |
AuthorizationCode:: |
protected | property | The authorization code repository. | |
AuthorizationCode:: |
protected | property | The refresh token repository. | |
AuthorizationCode:: |
public static | function |
Creates an instance of the plugin. Overrides Oauth2GrantBase:: |
|
AuthorizationCode:: |
public | function |
Gets the grant object. Overrides Oauth2GrantInterface:: |
|
AuthorizationCode:: |
public | function |
Class constructor. Overrides PluginBase:: |
|
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. |