You are here

public function Oauth2ClientPluginInterface::getCredentialProvider in OAuth2 Client 8.3

Returns the plugin credentials if they are set, otherwise returns NULL.

Return value

string|null The data.

1 method overrides Oauth2ClientPluginInterface::getCredentialProvider()
Oauth2ClientPluginBase::getCredentialProvider in src/Plugin/Oauth2Client/Oauth2ClientPluginBase.php
Returns the plugin credentials if they are set, otherwise returns NULL.

File

src/Plugin/Oauth2Client/Oauth2ClientPluginInterface.php, line 114

Class

Oauth2ClientPluginInterface
Interface for Oauth2 Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

public function getCredentialProvider();