You are here

function deploy_deploy_authenticators in Deploy - Content Staging 7.2

Same name and namespace in other branches
  1. 7.3 deploy.deploy.inc \deploy_deploy_authenticators()

Implements hook_deploy_authentications().

File

./deploy.deploy.inc, line 76
Deploy's implementation of its own API.

Code

function deploy_deploy_authenticators() {
  $path = drupal_get_path('module', 'deploy') . '/plugins';
  return array(
    'DeployAuthenticatorSession' => array(
      'name' => 'Session authentication',
      'description' => 'Performs session authentication on the endpoint. Works well when the endpoint happens to be a Drupal site using Services module and session authentication.',
      'handler' => array(
        'class' => 'DeployAuthenticatorSession',
        'file' => 'DeployAuthenticatorSession.inc',
        'path' => $path,
      ),
    ),
    'DeployAuthenticatorOAuth' => array(
      'name' => 'oAuth',
      'description' => 'Uses the oAuth protocol to authenticate with the endpoint. <strong>Does not work yet!</strong>',
      'handler' => array(
        'class' => 'DeployAuthenticatorOAuth',
        'file' => 'DeployAuthenticatorOAuth.inc',
        'path' => $path,
      ),
    ),
  );
}