public function RestClient::getAccessToken in Salesforce Suite 8.3
Same name in this branch
- 8.3 src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::getAccessToken()
- 8.3 modules/salesforce_encrypt/src/Rest/RestClient.php \Drupal\salesforce_encrypt\Rest\RestClient::getAccessToken()
Get the access token.
Return value
string|null The access token.
Overrides RestClient::getAccessToken
Deprecated
in 8.x-4.0 and does not have an exact analog, refer to \Drupal\salesforce\SalesforceAuthProviderInterface::getAccessToken instead.
1 call to RestClient::getAccessToken()
- RestClient::setEncryption in modules/
salesforce_encrypt/ src/ Rest/ RestClient.php - Set the given encryption profile as active.
File
- modules/
salesforce_encrypt/ src/ Rest/ RestClient.php, line 229
Class
- RestClient
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce_encrypt\RestCode
public function getAccessToken() {
return $this
->decrypt(parent::getAccessToken());
}