You are here

public function RestClientInterface::handleAuthResponse in Salesforce Suite 8.3

Helper callback for OAuth handshake, and refreshToken()

Parameters

\GuzzleHttp\Psr7\Response $response: Response object from refreshToken or authToken endpoints.

Deprecated

in 8.x-4.0 and does not have an exact analog, refer to \OAuth\Common\Http\Client\StreamClient::retrieveResponse instead.

See also

SalesforceController::oauthCallback()

self::refreshToken()

1 method overrides RestClientInterface::handleAuthResponse()
RestClient::handleAuthResponse in src/Rest/RestClient.php
Helper callback for OAuth handshake, and refreshToken()

File

src/Rest/RestClientInterface.php, line 294

Class

RestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

public function handleAuthResponse(Response $response);