You are here

protected function RestfulAuthenticationManager::setOriginalUserSession in RESTful 7

Set the original user object and session.

Parameters

array $original_user_session: Array keyed by 'user' and 'session'.

1 call to RestfulAuthenticationManager::setOriginalUserSession()
RestfulAuthenticationManager::switchUser in plugins/authentication/RestfulAuthenticationManager.php
Switch the user to the user authenticated by RESTful.

File

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

Class

RestfulAuthenticationManager
@file Contains RestfulAuthenticationManager.

Code

protected function setOriginalUserSession(array $original_user_session) {
  $this->originalUserSession = $original_user_session;
}