You are here

interface SalesforceAuthTokenStorageInterface in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Storage/SalesforceAuthTokenStorageInterface.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorageInterface
  2. 5.0.x src/Storage/SalesforceAuthTokenStorageInterface.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorageInterface

Add identity handling to token storage.

@package Drupal\salesforce\Storage

Hierarchy

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

... See full list

File

src/Storage/SalesforceAuthTokenStorageInterface.php, line 13

Namespace

Drupal\salesforce\Storage
View 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

Namesort descending Modifiers Type Description Overrides
SalesforceAuthTokenStorageInterface::clearIdentity public function Clear identity for service. 1
SalesforceAuthTokenStorageInterface::hasIdentity public function Return boolean indicating whether this service has an identity. 1
SalesforceAuthTokenStorageInterface::retrieveIdentity public function Identity for the given service. 1
SalesforceAuthTokenStorageInterface::storeIdentity public function Setter for identity storage. 1