You are here

public function AuthManager::getUsername in Open Social 8

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()
  2. 8.2 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()
  3. 8.3 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()
  4. 8.4 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()
  5. 8.5 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()
  6. 8.6 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()
  7. 8.7 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()
  8. 8.8 modules/custom/social_auth_extra/src/AuthManager.php \Drupal\social_auth_extra\AuthManager::getUsername()

Returns user on a social network if it possible.

Return value

string|false The user name on a social network or false.

Overrides AuthManagerInterface::getUsername

1 call to AuthManager::getUsername()
TwitterAuthManager::getUsername in modules/custom/social_auth_twitter/src/TwitterAuthManager.php
Returns user on a social network if it possible.
1 method overrides AuthManager::getUsername()
TwitterAuthManager::getUsername in modules/custom/social_auth_twitter/src/TwitterAuthManager.php
Returns user on a social network if it possible.

File

modules/custom/social_auth_extra/src/AuthManager.php, line 93

Class

AuthManager
Class AuthManager.

Namespace

Drupal\social_auth_extra

Code

public function getUsername() {
  return FALSE;
}