public function RestClientInterface::setAccessToken in Salesforce Suite 8.3
Set the access token.
Parameters
string $token: Access 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::setAccessToken()
- RestClient::setAccessToken in src/
Rest/ RestClient.php - Set the access token.
File
- src/
Rest/ RestClientInterface.php, line 262
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function setAccessToken($token);