You are here

public function SalesforceAuthProviderPluginBase::getIdentity in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::getIdentity()
  2. 5.0.x src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::getIdentity()

Identify for this connection.

Return value

array Identity for this connection.

Overrides SalesforceAuthProviderInterface::getIdentity

1 call to SalesforceAuthProviderPluginBase::getIdentity()
SalesforceAuthProviderPluginBase::getApiEndpoint in src/SalesforceAuthProviderPluginBase.php
API Url for this plugin.

File

src/SalesforceAuthProviderPluginBase.php, line 299

Class

SalesforceAuthProviderPluginBase
Shared methods for auth providers.

Namespace

Drupal\salesforce

Code

public function getIdentity() {
  return $this->storage
    ->retrieveIdentity($this
    ->id());
}