You are here

interface SalesforceIdentityInterface in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x src/Rest/SalesforceIdentityInterface.php \Drupal\salesforce\Rest\SalesforceIdentityInterface

Hierarchy

Expanded class hierarchy of SalesforceIdentityInterface

All classes that implement SalesforceIdentityInterface

2 files declare their use of SalesforceIdentityInterface
SalesforceAuthTokenStorage.php in src/Storage/SalesforceAuthTokenStorage.php
SalesforceAuthTokenStorageInterface.php in src/Storage/SalesforceAuthTokenStorageInterface.php

File

src/Rest/SalesforceIdentityInterface.php, line 5

Namespace

Drupal\salesforce\Rest
View source
interface SalesforceIdentityInterface {

  /**
   * Given API type and optional API version, return the API url.
   *
   * @param string $api_type
   *   The api type, e.g. rest, partner, meta.
   * @param string $api_version
   *   If given, replace {version} placeholder. Otherwise, return the raw URL.
   *
   * @return string
   *   The API url.
   */
  public function getUrl($api_type, $api_version = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
SalesforceIdentityInterface::getUrl public function Given API type and optional API version, return the API url. 1