public function ClientAuthorizationInterface::getJsonApiClient in Entity Share 8.3
Prepares a guzzle client for JSON operations with the supported auth.
Parameters
string $url: The remote url.
Return value
\GuzzleHttp\Client The HTTP client.
4 methods override ClientAuthorizationInterface::getJsonApiClient()
- Anonymous::getJsonApiClient in modules/
entity_share_client/ src/ Plugin/ ClientAuthorization/ Anonymous.php - Prepares a guzzle client for JSON operations with the supported auth.
- BasicAuth::getJsonApiClient in modules/
entity_share_client/ src/ Plugin/ ClientAuthorization/ BasicAuth.php - Prepares a guzzle client for JSON operations with the supported auth.
- Header::getJsonApiClient in modules/
entity_share_client/ src/ Plugin/ ClientAuthorization/ Header.php - Prepares a guzzle client for JSON operations with the supported auth.
- Oauth::getJsonApiClient in modules/
entity_share_client/ src/ Plugin/ ClientAuthorization/ Oauth.php - Prepares a guzzle client for JSON operations with the supported auth.
File
- modules/
entity_share_client/ src/ ClientAuthorization/ ClientAuthorizationInterface.php, line 48
Class
- ClientAuthorizationInterface
- Defines an interface for Client authorization plugins.
Namespace
Drupal\entity_share_client\ClientAuthorizationCode
public function getJsonApiClient($url);