You are here

interface DeployAuthenticator in Deploy - Content Staging 7.2

Same name and namespace in other branches
  1. 7.3 includes/DeployAuthenticator.inc \DeployAuthenticator

Interface for deploy authenticators.

Hierarchy

Expanded class hierarchy of DeployAuthenticator

All classes that implement DeployAuthenticator

File

includes/DeployAuthenticator.inc, line 10
Interface definition for deploy authenticators.

View source
interface DeployAuthenticator {

  /**
   * Constructor for a deploy authenticator.
   *
   * @param DeployService $service
   *   The service object that we need to authenticate for.
   *
   * @param array $config
   *   An associative array representing the configration options for the
   *   authenticator.
   */
  public function __construct(DeployService $service, array $config = array());

  /**
   * Initiates an authenticated deployment.
   *
   * @param Traversable $iterator
   *   Usually this will be an object from a subclass of DeployAggregatorBase.
   */
  public function deploy(Traversable $iterator);

  /**
   * Defines the configuration form for the authenticator.
   *
   * @param array $form_state
   *   The complete form state.
   *
   * @return array
   *   An array representing the configuation form.
   */
  public function configForm(&$form_state);

}

Members

Namesort descending Modifiers Type Description Overrides
DeployAuthenticator::configForm public function Defines the configuration form for the authenticator. 2
DeployAuthenticator::deploy public function Initiates an authenticated deployment. 2
DeployAuthenticator::__construct public function Constructor for a deploy authenticator. 2