You are here

class Code in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 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

Expanded class hierarchy of Code

File

src/Plugin/Oauth2Grant/Code.php, line 13

Namespace

Drupal\simple_oauth\Plugin\Oauth2Grant
View source
class Code extends AuthorizationCode {

}

Members

Namesort descending Modifiers Type Description Overrides
AuthorizationCode::$authCodeExpiration protected property The expiration for the code.
AuthorizationCode::$authCodeRepository protected property The authorization code repository.
AuthorizationCode::$refreshTokenRepository protected property The refresh token repository.
AuthorizationCode::create public static function Creates an instance of the plugin. Overrides Oauth2GrantBase::create
AuthorizationCode::getGrantType public function Gets the grant object. Overrides Oauth2GrantInterface::getGrantType
AuthorizationCode::__construct public function Class constructor. Overrides PluginBase::__construct
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.