public function LinkedinAuthManager::getAccessToken in Social Auth LinkedIn 8
1 call to LinkedinAuthManager::getAccessToken()
File
- src/
LinkedinAuthManager.php, line 55
Class
- LinkedinAuthManager
- Manages the authentication requests.
Namespace
Drupal\social_auth_linkedinCode
public function getAccessToken() {
if (!$this->accessToken) {
$this->accessToken = $this->client
->getAccessToken($this
->getCode());
}
return $this->accessToken;
}