You are here

interface SalesforceAuthTokenStorageInterface in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 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

2 files declare their use of SalesforceAuthTokenStorageInterface
SalesforceAuthProviderPluginBase.php in src/SalesforceAuthProviderPluginBase.php
TestSalesforceAuthProvider.php in src/Tests/TestSalesforceAuthProvider.php

File

src/Storage/SalesforceAuthTokenStorageInterface.php, line 12

Namespace

Drupal\salesforce\Storage
View source
interface SalesforceAuthTokenStorageInterface extends TokenStorageInterface {

  /**
   * Setter for identity storage.
   *
   * @return $this
   */
  public function storeIdentity($service, $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 array
   *   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