public function KeyGeneratorService::__construct in Simple OAuth (OAuth2) & OpenID Connect 8.4
Same name and namespace in other branches
- 8.3 src/Service/KeyGeneratorService.php \Drupal\simple_oauth\Service\KeyGeneratorService::__construct()
- 5.x src/Service/KeyGeneratorService.php \Drupal\simple_oauth\Service\KeyGeneratorService::__construct()
KeyGeneratorService constructor.
Parameters
\Drupal\simple_oauth\Service\Filesystem\FileSystemChecker $file_system_checker: The file system checker.
\Drupal\Core\File\FileSystemInterface $file_system: The file system service.
File
- src/
Service/ KeyGeneratorService.php, line 45
Class
- KeyGeneratorService
- Generates the signature keys.
Namespace
Drupal\simple_oauth\ServiceCode
public function __construct(FileSystemChecker $file_system_checker, FileSystemInterface $file_system) {
$this->fileSystemChecker = $file_system_checker;
$this->fileSystem = $file_system;
$this->validator = new FilesystemValidator($file_system_checker);
}