comparison modules/contrib/migrate_plus/src/AuthenticationPluginInterface.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
1 <?php
2
3 namespace Drupal\migrate_plus;
4
5 /**
6 * Defines an interface for authenticaion handlers.
7 *
8 * @see \Drupal\migrate_plus\Annotation\Authentication
9 * @see \Drupal\migrate_plus\AuthenticationPluginBase
10 * @see \Drupal\migrate_plus\AuthenticationPluginManager
11 * @see plugin_api
12 */
13 interface AuthenticationPluginInterface {
14
15 /**
16 * Performs authentication, returning any options to be added to the request.
17 *
18 * @return array
19 * Options (such as Authentication headers) to be added to the request.
20 *
21 * @link http://docs.guzzlephp.org/en/latest/request-options.html
22 */
23 public function getAuthenticationOptions();
24
25 }