public function UsersGenerateKeyForm::__construct in JSON Web Token Authentication (JWT) 8
Constructs a key form.
Parameters
\Drupal\users_jwt\UsersJwtKeyRepositoryInterface $key_repository: The user key repository service.
File
- modules/
users_jwt/ src/ Form/ UsersGenerateKeyForm.php, line 33
Class
- UsersGenerateKeyForm
- Class UsersKeyForm.
Namespace
Drupal\users_jwt\FormCode
public function __construct(UsersJwtKeyRepositoryInterface $key_repository) {
$this->keyRepository = $key_repository;
}