Basic.php in Migrate Plus 8.4
File
src/Plugin/migrate_plus/authentication/Basic.php
View source
<?php
namespace Drupal\migrate_plus\Plugin\migrate_plus\authentication;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\migrate_plus\AuthenticationPluginBase;
class Basic extends AuthenticationPluginBase implements ContainerFactoryPluginInterface {
public function getAuthenticationOptions() {
return [
'auth' => [
$this->configuration['username'],
$this->configuration['password'],
],
];
}
}
Classes
Name |
Description |
Basic |
Provides basic authentication for the HTTP resource. |