SalesforceAuthTokenStorageInterface.php in Salesforce Suite 8.4
Same filename and directory in other branches
Namespace
Drupal\salesforce\StorageFile
src/Storage/SalesforceAuthTokenStorageInterface.phpView source
<?php
namespace Drupal\salesforce\Storage;
use Drupal\salesforce\Rest\SalesforceIdentityInterface;
use OAuth\Common\Storage\TokenStorageInterface;
/**
* Add identity handling to token storage.
*
* @package Drupal\salesforce\Storage
*/
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);
}
Interfaces
Name | Description |
---|---|
SalesforceAuthTokenStorageInterface | Add identity handling to token storage. |