public function Broken::refreshAccessToken in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x src/Plugin/SalesforceAuthProvider/Broken.php \Drupal\salesforce\Plugin\SalesforceAuthProvider\Broken::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.
Overrides SalesforceAuthProviderPluginBase::refreshAccessToken
File
- src/
Plugin/ SalesforceAuthProvider/ Broken.php, line 32
Class
- Broken
- Fallback for broken / missing plugin.
Namespace
Drupal\salesforce\Plugin\SalesforceAuthProviderCode
public function refreshAccessToken(TokenInterface $token) {
throw new MissingRefreshTokenException();
}