public function RefreshToken::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.3
Same name and namespace in other branches
- 8.2 simple_oauth_extras/src/Plugin/Oauth2Grant/RefreshToken.php \Drupal\simple_oauth_extras\Plugin\Oauth2Grant\RefreshToken::__construct()
Class constructor.
Overrides PluginBase::__construct
File
- simple_oauth_extras/
src/ Plugin/ Oauth2Grant/ RefreshToken.php, line 34
Class
- RefreshToken
- Plugin annotation @Oauth2Grant( id = "refresh_token", label = @Translation("Refresh Token") )
Namespace
Drupal\simple_oauth_extras\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;
}