You are here

public function RestClient::getRefreshToken in Salesforce Suite 8.3

Same name in this branch
  1. 8.3 src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::getRefreshToken()
  2. 8.3 modules/salesforce_encrypt/src/Rest/RestClient.php \Drupal\salesforce_encrypt\Rest\RestClient::getRefreshToken()

Get refresh token.

3 calls to RestClient::getRefreshToken()
RestClient::getRefreshToken in modules/salesforce_encrypt/src/Rest/RestClient.php
Get refresh token.
RestClient::isAuthorized in src/Rest/RestClient.php
Determine if this SF instance is fully configured.
RestClient::refreshToken in src/Rest/RestClient.php
Refresh access token based on the refresh token.
1 method overrides RestClient::getRefreshToken()
RestClient::getRefreshToken in modules/salesforce_encrypt/src/Rest/RestClient.php
Get refresh token.

File

src/Rest/RestClient.php, line 472

Class

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

Namespace

Drupal\salesforce\Rest

Code

public function getRefreshToken() {
  return $this->state
    ->get('salesforce.refresh_token');
}