public function SalesforceAuthTokenStorage::storeIdentity in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::storeIdentity()
- 8.3 src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::storeIdentity()
Setter for identity storage.
Return value
$this
Overrides SalesforceAuthTokenStorageInterface::storeIdentity
File
- src/
Storage/ SalesforceAuthTokenStorage.php, line 162
Class
- SalesforceAuthTokenStorage
- Salesforce auth token storage.
Namespace
Drupal\salesforce\StorageCode
public function storeIdentity($service, SalesforceIdentityInterface $identity) {
$this->state
->set(static::getIdentityStorageId($service), $identity);
return $this;
}