You are here

public function LinkedInAuthManager::getState in Social Auth LinkedIn 3.x

Same name and namespace in other branches
  1. 8.2 src/LinkedInAuthManager.php \Drupal\social_auth_linkedin\LinkedInAuthManager::getState()

Returns OAuth2 state.

Return value

string The OAuth2 state.

Overrides OAuth2ManagerInterface::getState

File

src/LinkedInAuthManager.php, line 105

Class

LinkedInAuthManager
Contains all the logic for LinkedIn OAuth2 authentication.

Namespace

Drupal\social_auth_linkedin

Code

public function getState() {
  return $this->client
    ->getState();
}