You are here

public function Oauth2ClientServiceInterface::getClient in OAuth2 Client 8.3

Same name and namespace in other branches
  1. 8.2 src/Service/Oauth2ClientServiceInterface.php \Drupal\oauth2_client\Service\Oauth2ClientServiceInterface::getClient()

Retrieve an OAuth2 Client Plugin.

Parameters

string $pluginId: The plugin ID of the client to be retrieved.

Return value

\Drupal\oauth2_client\Plugin\Oauth2Client\Oauth2ClientPluginInterface The OAuth2 Client plugin.

1 method overrides Oauth2ClientServiceInterface::getClient()
Oauth2ClientServiceBase::getClient in src/Service/Oauth2ClientServiceBase.php
Retrieve an OAuth2 Client Plugin.

File

src/Service/Oauth2ClientServiceInterface.php, line 19

Class

Oauth2ClientServiceInterface
Interface for the OAuth2 Client service.

Namespace

Drupal\oauth2_client\Service

Code

public function getClient($pluginId);