You are here

interface AuthenticationPluginInterface in Migrate Plus 8.3

Same name and namespace in other branches
  1. 8.5 src/AuthenticationPluginInterface.php \Drupal\migrate_plus\AuthenticationPluginInterface
  2. 8.2 src/AuthenticationPluginInterface.php \Drupal\migrate_plus\AuthenticationPluginInterface
  3. 8.4 src/AuthenticationPluginInterface.php \Drupal\migrate_plus\AuthenticationPluginInterface

Defines an interface for authenticaion handlers.

Hierarchy

Expanded class hierarchy of AuthenticationPluginInterface

All classes that implement AuthenticationPluginInterface

See also

\Drupal\migrate_plus\Annotation\Authentication

\Drupal\migrate_plus\AuthenticationPluginBase

\Drupal\migrate_plus\AuthenticationPluginManager

Plugin API

File

src/AuthenticationPluginInterface.php, line 13

Namespace

Drupal\migrate_plus
View source
interface AuthenticationPluginInterface {

  /**
   * Performs authentication, returning any options to be added to the request.
   *
   * @return array
   *   Options (such as Authentication headers) to be added to the request.
   *
   * @link http://docs.guzzlephp.org/en/latest/request-options.html
   */
  public function getAuthenticationOptions();

}

Members

Namesort descending Modifiers Type Description Overrides
AuthenticationPluginInterface::getAuthenticationOptions public function Performs authentication, returning any options to be added to the request. 3