You are here

public function SalesforceAuthProviderInterface::refreshIdentity in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x src/SalesforceAuthProviderInterface.php \Drupal\salesforce\SalesforceAuthProviderInterface::refreshIdentity()

Given a token, fetch the SF identity.

Parameters

\OAuth\Common\Token\TokenInterface $token: The token.

Return value

\Drupal\salesforce\Rest\SalesforceIdentityInterface The refreshed identity.

Throws

\OAuth\OAuth2\Service\Exception\MissingRefreshTokenException Comment.

1 method overrides SalesforceAuthProviderInterface::refreshIdentity()
SalesforceAuthProviderPluginBase::refreshIdentity in src/SalesforceAuthProviderPluginBase.php
Given a token, fetch the SF identity.

File

src/SalesforceAuthProviderInterface.php, line 66

Class

SalesforceAuthProviderInterface
Class SalesforceAuthProvider.

Namespace

Drupal\salesforce

Code

public function refreshIdentity(TokenInterface $token);