You are here

public function PrivateFileKeyProvider::__construct in Apigee Edge 8

PrivateFileKeyProvider constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Psr\Log\LoggerInterface $logger: The logger.

\Drupal\Core\File\FileSystemInterface $file_system: The file system service.

Overrides KeyProviderRequirementsBase::__construct

File

src/Plugin/KeyProvider/PrivateFileKeyProvider.php, line 70

Class

PrivateFileKeyProvider
Stores Apigee Edge authentication credentials in a private file.

Namespace

Drupal\apigee_edge\Plugin\KeyProvider

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, LoggerInterface $logger, FileSystemInterface $file_system) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $logger);
  $this->fileSystem = $file_system;
}