You are here

protected static function SalesforceAuthTokenStorage::getTokenStorageId in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::getTokenStorageId()
  2. 5.0.x src/Storage/SalesforceAuthTokenStorage.php \Drupal\salesforce\Storage\SalesforceAuthTokenStorage::getTokenStorageId()

Token storage key for given service.

Return value

string Token storage key for given service.

3 calls to SalesforceAuthTokenStorage::getTokenStorageId()
SalesforceAuthTokenStorage::clearToken in src/Storage/SalesforceAuthTokenStorage.php
SalesforceAuthTokenStorage::retrieveAccessToken in src/Storage/SalesforceAuthTokenStorage.php
SalesforceAuthTokenStorage::storeAccessToken in src/Storage/SalesforceAuthTokenStorage.php

File

src/Storage/SalesforceAuthTokenStorage.php, line 43

Class

SalesforceAuthTokenStorage
Salesforce auth token storage.

Namespace

Drupal\salesforce\Storage

Code

protected static function getTokenStorageId($service) {
  return static::TOKEN_STORAGE_PREFIX . '.' . $service;
}