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