You are here

public function GoogleAuthManager::getState in Social Auth Google 3.x

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

Returns OAuth2 state.

Return value

string The OAuth2 state.

Overrides OAuth2ManagerInterface::getState

File

src/GoogleAuthManager.php, line 110

Class

GoogleAuthManager
Contains all the logic for Google OAuth2 authentication.

Namespace

Drupal\social_auth_google

Code

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