public function DeployAuthenticatorOAuth::__construct in Deploy - Content Staging 7.2
Constructor for a deploy authenticator.
Parameters
DeployService $service: The service object that we need to authenticate for.
array $config: An associative array representing the configration options for the authenticator.
Overrides DeployAuthenticator::__construct
File
- plugins/
DeployAuthenticatorOAuth.inc, line 22 - oAuth authentcation plugin for Deploy.
Class
- DeployAuthenticatorOAuth
- Incomplete Authenticator class that uses oAuth.
Code
public function __construct(DeployService $service, array $config = array()) {
$this->service = $service;
$this->config += array(
'debug' => FALSE,
);
$this->config = array_merge($this->config, $config);
}