interface SalesforceAuthTokenStorageInterface in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/Storage/SalesforceAuthTokenStorageInterface.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorageInterface
- 5.0.x src/Storage/SalesforceAuthTokenStorageInterface.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorageInterface
Add identity handling to token storage.
@package Drupal\salesforce\Storage
Hierarchy
- interface \Drupal\salesforce\Storage\SalesforceAuthTokenStorageInterface extends \OAuth\Common\Storage\TokenStorageInterface
Expanded class hierarchy of SalesforceAuthTokenStorageInterface
All classes that implement SalesforceAuthTokenStorageInterface
7 files declare their use of SalesforceAuthTokenStorageInterface
- SalesforceAuthProviderPluginBase.php in src/
SalesforceAuthProviderPluginBase.php - SalesforceCommandsBase.php in src/
Commands/ SalesforceCommandsBase.php - SalesforceJWTPlugin.php in modules/
salesforce_jwt/ src/ Plugin/ SalesforceAuthProvider/ SalesforceJWTPlugin.php - SalesforceMappingCommands.php in modules/
salesforce_mapping/ src/ Commands/ SalesforceMappingCommands.php - SalesforceMappingCommandsBase.php in modules/
salesforce_mapping/ src/ Commands/ SalesforceMappingCommandsBase.php
File
- src/
Storage/ SalesforceAuthTokenStorageInterface.php, line 13
Namespace
Drupal\salesforce\StorageView source
interface SalesforceAuthTokenStorageInterface extends TokenStorageInterface {
/**
* Setter for identity storage.
*
* @return $this
*/
public function storeIdentity($service, SalesforceIdentityInterface $identity);
/**
* Return boolean indicating whether this service has an identity.
*
* @return bool
* TRUE if the service has an identity.
*/
public function hasIdentity($service);
/**
* Identity for the given service.
*
* @return \Drupal\salesforce\Rest\SalesforceIdentityInterface
* Identity.
*/
public function retrieveIdentity($service);
/**
* Clear identity for service.
*
* @return $this
*/
public function clearIdentity($service);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SalesforceAuthTokenStorageInterface:: |
public | function | Clear identity for service. | 1 |
SalesforceAuthTokenStorageInterface:: |
public | function | Return boolean indicating whether this service has an identity. | 1 |
SalesforceAuthTokenStorageInterface:: |
public | function | Identity for the given service. | 1 |
SalesforceAuthTokenStorageInterface:: |
public | function | Setter for identity storage. | 1 |