You are here

public function Oauth2ClientPluginBase::getPassword in OAuth2 Client 8.2

Retrieves the password for the account to authenticate with.

Return value

string The password for the account to authenticate with.

Overrides Oauth2ClientPluginInterface::getPassword

File

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

Class

Oauth2ClientPluginBase
Base class for Oauth2Client plugins.

Namespace

Drupal\oauth2_client\Plugin\Oauth2Client

Code

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