You are here

protected function Salesforce::setRefreshToken in Salesforce Suite 7.3

Set refresh token.

Parameters

string $token: Refresh token from Salesforce.

1 call to Salesforce::setRefreshToken()
Salesforce::requestToken in includes/salesforce.inc
OAuth step 2: Exchange an authorization code for an access token.

File

includes/salesforce.inc, line 316
Objects, properties, and methods to communicate with the Salesforce REST API

Class

Salesforce
Ability to authorize and communicate with the Salesforce REST API.

Code

protected function setRefreshToken($token) {
  variable_set('salesforce_refresh_token', $token);
}