You are here

public function AuthenticationManager::switchUserBack in RESTful 7.2

Switches the user back from the original user for the session.

Overrides AuthenticationManagerInterface::switchUserBack

File

src/Authentication/AuthenticationManager.php, line 167
Contains \Drupal\restful\Authentication\AuthenticationManager

Class

AuthenticationManager
Class AuthenticationManager.

Namespace

Drupal\restful\Authentication

Code

public function switchUserBack() {
  return $this->userSessionState
    ->switchUserBack();
}