You are here

public function Oauth2GenerateKeyForm::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4

Same name and namespace in other branches
  1. 8.3 src/Entity/Form/Oauth2GenerateKeyForm.php \Drupal\simple_oauth\Entity\Form\Oauth2GenerateKeyForm::__construct()
  2. 5.x src/Entity/Form/Oauth2GenerateKeyForm.php \Drupal\simple_oauth\Entity\Form\Oauth2GenerateKeyForm::__construct()

Oauth2GenerateKeyForm constructor.

Parameters

\Drupal\simple_oauth\Service\KeyGeneratorService $key_generator_service:

File

src/Entity/Form/Oauth2GenerateKeyForm.php, line 29

Class

Oauth2GenerateKeyForm
@internal

Namespace

Drupal\simple_oauth\Entity\Form

Code

public function __construct(KeyGeneratorService $key_generator_service) {
  $this->keyGen = $key_generator_service;
}