You are here

private function Oauth2ClientPluginBase::clearCredentials in OAuth2 Client 8.3

Helper function to clear cached credentials.

1 call to Oauth2ClientPluginBase::clearCredentials()
Oauth2ClientPluginBase::__construct in src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php
Constructs a Oauth2ClientPluginBase object.

File

src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php, line 426

Class

Oauth2ClientPluginBase
Base class for Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

private function clearCredentials() {
  $this->credentials = [];
}