public function SalesforceAuthProviderPluginBase::revokeAccessToken in Salesforce Suite 8.4
Same name and namespace in other branches
- 8.3 src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::revokeAccessToken()
- 5.0.x src/SalesforceAuthProviderPluginBase.php \Drupal\salesforce\SalesforceAuthProviderPluginBase::revokeAccessToken()
Clear the access token for this auth provider plugin.
Return value
$this
Overrides SalesforceAuthProviderInterface::revokeAccessToken
File
- src/
SalesforceAuthProviderPluginBase.php, line 275
Class
- SalesforceAuthProviderPluginBase
- Shared methods for auth providers.
Namespace
Drupal\salesforceCode
public function revokeAccessToken() {
return $this->storage
->clearToken($this
->id());
}