You are here

public function ClientAuthorizationInterface::getClient in Entity Share 8.3

Prepares a guzzle client for http operations with the supported auth.

Parameters

string $url: The url to set in the client.

Return value

\GuzzleHttp\Client The HTTP client.

4 methods override ClientAuthorizationInterface::getClient()
Anonymous::getClient in modules/entity_share_client/src/Plugin/ClientAuthorization/Anonymous.php
Prepares a guzzle client for http operations with the supported auth.
BasicAuth::getClient in modules/entity_share_client/src/Plugin/ClientAuthorization/BasicAuth.php
Prepares a guzzle client for http operations with the supported auth.
Header::getClient in modules/entity_share_client/src/Plugin/ClientAuthorization/Header.php
Prepares a guzzle client for http operations with the supported auth.
Oauth::getClient in modules/entity_share_client/src/Plugin/ClientAuthorization/Oauth.php
Prepares a guzzle client for http operations with the supported auth.

File

modules/entity_share_client/src/ClientAuthorization/ClientAuthorizationInterface.php, line 59

Class

ClientAuthorizationInterface
Defines an interface for Client authorization plugins.

Namespace

Drupal\entity_share_client\ClientAuthorization

Code

public function getClient($url);