You are here

public function TestRestClient::handleAuthResponse in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::handleAuthResponse()
  2. 8.3 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.

See also

SalesforceController::oauthCallback()

self::refreshToken()

File

src/Tests/TestRestClient.php, line 96

Class

TestRestClient
Test Salesforce REST client.

Namespace

Drupal\salesforce\Tests

Code

public function handleAuthResponse(Response $response) {
}