public function Oauth2ClientPluginBase::getUsername in OAuth2 Client 8.2
Retrieves the username for the account to authenticate with.
Return value
string The username of the account to authenticate with.
Overrides Oauth2ClientPluginInterface::getUsername
File
- src/
Plugin/ Oauth2Client/ Oauth2ClientPluginBase.php, line 163
Class
- Oauth2ClientPluginBase
- Base class for Oauth2Client plugins.
Namespace
Drupal\oauth2_client\Plugin\Oauth2ClientCode
public function getUsername() {
$this
->checkKeyDefined('username');
return $this->pluginDefinition['username'];
}