public function RefreshToken::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 5.x src/Plugin/Oauth2Grant/RefreshToken.php \Drupal\simple_oauth\Plugin\Oauth2Grant\RefreshToken::__construct()
Class constructor.
Overrides PluginBase::__construct
File
- src/
Plugin/ Oauth2Grant/ RefreshToken.php, line 38
Class
- RefreshToken
- The refresh token grant plugin.
Namespace
Drupal\simple_oauth\Plugin\Oauth2GrantCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, RefreshTokenRepositoryInterface $refresh_token_repository, ConfigFactoryInterface $config_factory) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->refreshTokenRepository = $refresh_token_repository;
$this->configFactory = $config_factory;
}