You are here

public function AuthSessionDataHandler::get in Open Social 8.3

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()
  2. 8 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()
  3. 8.2 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()
  4. 8.4 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()
  5. 8.5 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()
  6. 8.6 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()
  7. 8.7 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()
  8. 8.8 modules/custom/social_auth_extra/src/AuthSessionDataHandler.php \Drupal\social_auth_extra\AuthSessionDataHandler::get()

Get a value from a persistent data store.

Parameters

string $key: A key to request data for.

Return value

mixed Value in the data store.

Overrides AuthDataHandlerInterface::get

File

modules/custom/social_auth_extra/src/AuthSessionDataHandler.php, line 41

Class

AuthSessionDataHandler
Class AuthSessionDataHandler.

Namespace

Drupal\social_auth_extra

Code

public function get($key) {
  return $this->session
    ->get($this->sessionPrefix . $key);
}