You are here

public function Oauth2ClientPluginBase::getId in OAuth2 Client 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php \Drupal\oauth2_client\Plugin\Oauth2Client\Oauth2ClientPluginBase::getId()

Retrieves the id of the OAuth2 Client plugin.

Return value

string The id of the plugin.

Overrides Oauth2ClientPluginInterface::getId

15 calls to Oauth2ClientPluginBase::getId()
AuthCodeAccessExample::clearAccessToken in examples/oauth2_client_example_plugins/src/Plugin/Oauth2Client/AuthCodeAccessExample.php
Clears the access token from storage.
AuthCodeAccessExample::retrieveAccessToken in examples/oauth2_client_example_plugins/src/Plugin/Oauth2Client/AuthCodeAccessExample.php
Retrieve the access token storage.
AuthCodeAccessExample::storeAccessToken in examples/oauth2_client_example_plugins/src/Plugin/Oauth2Client/AuthCodeAccessExample.php
Stores access tokens obtained by this client.
AuthCodeExample::clearAccessToken in examples/oauth2_client_example_plugins/src/Plugin/Oauth2Client/AuthCodeExample.php
Clears the access token from storage.
AuthCodeExample::retrieveAccessToken in examples/oauth2_client_example_plugins/src/Plugin/Oauth2Client/AuthCodeExample.php
Retrieve the access token storage.

... See full list

File

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

Class

Oauth2ClientPluginBase
Base class for Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function getId() {
  $this
    ->checkKeyDefined('id');
  return $this->pluginDefinition['id'];
}