public function OAuthKey::__construct in Lightning API 8.3
Same name and namespace in other branches
- 8.4 src/OAuthKey.php \Drupal\lightning_api\OAuthKey::__construct()
- 8 src/OAuthKey.php \Drupal\lightning_api\OAuthKey::__construct()
- 8.2 src/OAuthKey.php \Drupal\lightning_api\OAuthKey::__construct()
OAuthKey constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
\Drupal\Core\File\FileSystemInterface $file_system: The file system service.
File
- src/
OAuthKey.php, line 36
Class
- OAuthKey
- Generates key pairs for use with OAuth.
Namespace
Drupal\lightning_apiCode
public function __construct(ConfigFactoryInterface $config_factory, FileSystemInterface $file_system) {
$this->configFactory = $config_factory;
$this->fileSystem = $file_system;
}