You are here

public function DeployRemoteCcAuthenticatorSession::__construct in Deploy - Content Staging 7.3

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

modules/deploy_remote_cc/plugins/DeployRemoteCcAuthenticatorSession.inc, line 25

Class

DeployRemoteCcAuthenticatorSession
Authenticator for Cache clear service.

Code

public function __construct(\DeployService $service, array $config = array()) {
  $this->service = $service;
  $this->config += array(
    'username' => '',
    'password' => '',
  );
  $this->config = array_merge($this->config, $config);
  $this->context = $this->service
    ->getContext();
}