protected function LinkedinAuthManager::getCode in Social Auth LinkedIn 8
Gets the code returned by Linkedin to authenticate.
Return value
string The code string returned by Linkedin.
1 call to LinkedinAuthManager::getCode()
File
- src/
LinkedinAuthManager.php, line 76
Class
- LinkedinAuthManager
- Manages the authentication requests.
Namespace
Drupal\social_auth_linkedinCode
protected function getCode() {
if (!$this->code) {
$this->code = $this->request->query
->get('code');
}
return $this->code;
}