You are here

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

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

SimpleOauthCommands constructor.

File

src/Commands/SimpleOauthCommands.php, line 33

Class

SimpleOauthCommands
Drush commands for Simple OAuth.

Namespace

Drupal\simple_oauth\Commands

Code

public function __construct(KeyGeneratorService $keygen, FileSystemInterface $file_system) {
  $this->keygen = $keygen;
  $this->fileSystem = $file_system;
}