You are here

public function AuthenticationPluginInterface::getAuthenticationOptions in Migrate Plus 8.4

Same name and namespace in other branches
  1. 8.5 src/AuthenticationPluginInterface.php \Drupal\migrate_plus\AuthenticationPluginInterface::getAuthenticationOptions()
  2. 8.2 src/AuthenticationPluginInterface.php \Drupal\migrate_plus\AuthenticationPluginInterface::getAuthenticationOptions()
  3. 8.3 src/AuthenticationPluginInterface.php \Drupal\migrate_plus\AuthenticationPluginInterface::getAuthenticationOptions()

Performs authentication, returning any options to be added to the request.

@link http://docs.guzzlephp.org/en/latest/request-options.html

Return value

array Options (such as Authentication headers) to be added to the request.

3 methods override AuthenticationPluginInterface::getAuthenticationOptions()
Basic::getAuthenticationOptions in src/Plugin/migrate_plus/authentication/Basic.php
Performs authentication, returning any options to be added to the request.
Digest::getAuthenticationOptions in src/Plugin/migrate_plus/authentication/Digest.php
Performs authentication, returning any options to be added to the request.
OAuth2::getAuthenticationOptions in src/Plugin/migrate_plus/authentication/OAuth2.php
Performs authentication, returning any options to be added to the request.

File

src/AuthenticationPluginInterface.php, line 23

Class

AuthenticationPluginInterface
Defines an interface for authenticaion handlers.

Namespace

Drupal\migrate_plus

Code

public function getAuthenticationOptions();