You are here

class DeployAuthenticatorOAuth in Deploy - Content Staging 7.2

Incomplete Authenticator class that uses oAuth.

Hierarchy

Expanded class hierarchy of DeployAuthenticatorOAuth

1 string reference to 'DeployAuthenticatorOAuth'
deploy_deploy_authenticators in ./deploy.deploy.inc
Implements hook_deploy_authentications().

File

plugins/DeployAuthenticatorOAuth.inc, line 10
oAuth authentcation plugin for Deploy.

View source
class DeployAuthenticatorOAuth implements DeployAuthenticator {

  /**
   * Configuration options.
   *
   * @var array
   */
  public $config = array();

  /**
   * {@inheritdoc}
   */
  public function __construct(DeployService $service, array $config = array()) {
    $this->service = $service;
    $this->config += array(
      'debug' => FALSE,
    );
    $this->config = array_merge($this->config, $config);
  }

  /**
   * {@inheritdoc}
   */
  public function deploy(Traversable $iterator) {
  }

  /**
   * {@inheritdoc}
   */
  public function configForm(&$form_state) {
    return array();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DeployAuthenticatorOAuth::$config public property Configuration options.
DeployAuthenticatorOAuth::configForm public function Defines the configuration form for the authenticator. Overrides DeployAuthenticator::configForm
DeployAuthenticatorOAuth::deploy public function Initiates an authenticated deployment. Overrides DeployAuthenticator::deploy
DeployAuthenticatorOAuth::__construct public function Constructor for a deploy authenticator. Overrides DeployAuthenticator::__construct