public function Digest::getAuthenticationOptions in Migrate Plus 8.5
Same name and namespace in other branches
- 8.2 src/Plugin/migrate_plus/authentication/Digest.php \Drupal\migrate_plus\Plugin\migrate_plus\authentication\Digest::getAuthenticationOptions()
- 8.3 src/Plugin/migrate_plus/authentication/Digest.php \Drupal\migrate_plus\Plugin\migrate_plus\authentication\Digest::getAuthenticationOptions()
- 8.4 src/Plugin/migrate_plus/authentication/Digest.php \Drupal\migrate_plus\Plugin\migrate_plus\authentication\Digest::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.
Overrides AuthenticationPluginInterface::getAuthenticationOptions
File
- src/
Plugin/ migrate_plus/ authentication/ Digest.php, line 21
Class
- Digest
- Provides digest authentication for the HTTP resource.
Namespace
Drupal\migrate_plus\Plugin\migrate_plus\authenticationCode
public function getAuthenticationOptions() {
return [
'auth' => [
$this->configuration['username'],
$this->configuration['password'],
'digest',
],
];
}