You are here

public function FacebookAuthManager::getState in Social Auth Facebook 3.x

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

Returns OAuth2 state.

Return value

string The OAuth2 state.

Overrides OAuth2ManagerInterface::getState

File

src/FacebookAuthManager.php, line 127

Class

FacebookAuthManager
Contains all the logic for Facebook OAuth2 authentication.

Namespace

Drupal\social_auth_facebook

Code

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