GoogleUserManager.php in Open Social 8.9
Same filename and directory in other branches
- 8 modules/custom/social_auth_google/src/GoogleUserManager.php
- 8.2 modules/custom/social_auth_google/src/GoogleUserManager.php
- 8.3 modules/custom/social_auth_google/src/GoogleUserManager.php
- 8.4 modules/custom/social_auth_google/src/GoogleUserManager.php
- 8.5 modules/custom/social_auth_google/src/GoogleUserManager.php
- 8.6 modules/custom/social_auth_google/src/GoogleUserManager.php
- 8.7 modules/custom/social_auth_google/src/GoogleUserManager.php
- 8.8 modules/custom/social_auth_google/src/GoogleUserManager.php
Namespace
Drupal\social_auth_googleFile
modules/custom/social_auth_google/src/GoogleUserManager.phpView source
<?php
namespace Drupal\social_auth_google;
use Drupal\social_auth_extra\UserManager;
use Drupal\social_auth_google\Settings\GoogleAuthSettings;
/**
* Class GoogleUserManager.
*
* @package Drupal\social_auth_google
*/
class GoogleUserManager extends UserManager {
/**
* {@inheritdoc}
*/
public function getSocialNetworkKey() {
return GoogleAuthSettings::getSocialNetworkKey();
}
/**
* {@inheritdoc}
*/
public function setAccountId($account_id) {
$this->account
->get('google_id')
->setValue($account_id);
}
/**
* {@inheritdoc}
*/
public function getAccountId() {
return $this->account
->get('google_id')->value;
}
}
Classes
Name | Description |
---|---|
GoogleUserManager | Class GoogleUserManager. |