You are here

public function RestClientInterface::setRefreshToken in Salesforce Suite 8.3

Set the refresh token.

Parameters

string $token: Refresh token from Salesforce.

Deprecated

in 8.x-4.0 and does not have an exact analog, refer to \Drupal\salesforce\SalesforceAuthProviderInterface instead.

1 method overrides RestClientInterface::setRefreshToken()
RestClient::setRefreshToken in src/Rest/RestClient.php
Set the refresh token.

File

src/Rest/RestClientInterface.php, line 272

Class

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

Namespace

Drupal\salesforce\Rest

Code

public function setRefreshToken($token);