You are here

public function RemoteManagerInterface::prepareClient in Entity Share 8

Same name and namespace in other branches
  1. 8.2 modules/entity_share_client/src/Service/RemoteManagerInterface.php \Drupal\entity_share_client\Service\RemoteManagerInterface::prepareClient()

Prepare an HTTP client authenticated to handle private files.

Parameters

\Drupal\entity_share_client\Entity\RemoteInterface $remote: The remote website on which to prepare the client.

Return value

\GuzzleHttp\Client An HTTP client with some info from the remote.

1 method overrides RemoteManagerInterface::prepareClient()
RemoteManager::prepareClient in modules/entity_share_client/src/Service/RemoteManager.php
Prepare an HTTP client authenticated to handle private files.

File

modules/entity_share_client/src/Service/RemoteManagerInterface.php, line 21

Class

RemoteManagerInterface
Remote manager interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function prepareClient(RemoteInterface $remote);