You are here

public function SalesforceAuthProviderInterface::refreshAccessToken in Salesforce Suite 8.4

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

Perform a refresh of the given token.

NB: This method should also refresh any associated identity.

Parameters

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

Return value

\OAuth\Common\Token\TokenInterface The refreshed token.

Throws

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

1 method overrides SalesforceAuthProviderInterface::refreshAccessToken()
SalesforceAuthProviderPluginBase::refreshAccessToken in src/SalesforceAuthProviderPluginBase.php
Perform a refresh of the given token.

File

src/SalesforceAuthProviderInterface.php, line 52

Class

SalesforceAuthProviderInterface
Class SalesforceAuthProvider.

Namespace

Drupal\salesforce

Code

public function refreshAccessToken(TokenInterface $token);