You are here

protected function RestfulAuthenticationManager::getOriginalUserSession in RESTful 7

Get the original user object and session.

Return value

array Array keyed by 'user' and 'session'.

2 calls to RestfulAuthenticationManager::getOriginalUserSession()
RestfulAuthenticationManager::switchUser in plugins/authentication/RestfulAuthenticationManager.php
Switch the user to the user authenticated by RESTful.
RestfulAuthenticationManager::switchUserBack in plugins/authentication/RestfulAuthenticationManager.php
Switch the user to the authenticated user, and back.

File

plugins/authentication/RestfulAuthenticationManager.php, line 208
Contains RestfulAuthenticationManager.

Class

RestfulAuthenticationManager
@file Contains RestfulAuthenticationManager.

Code

protected function getOriginalUserSession() {
  return $this->originalUserSession;
}