You are here

public function TestRestClient::handleAuthResponse in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::handleAuthResponse()
  2. 5.0.x src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::handleAuthResponse()

Helper callback for OAuth handshake, and refreshToken()

Parameters

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

Overrides RestClient::handleAuthResponse

See also

SalesforceController::oauthCallback()

self::refreshToken()

File

src/Tests/TestRestClient.php, line 79

Class

TestRestClient
Test Salesforce REST client.

Namespace

Drupal\salesforce\Tests

Code

public function handleAuthResponse(Response $response) {
}