attach(true); try { $user = $broker->getUserInfo(); } catch (NotAttachedException $e) { header('Location: ' . $_SERVER['REQUEST_URI']); exit; } catch (SsoException $e) { header("Location: error.php?sso_error=" . $e->getMessage(), true, 307); } if (!$user) { header("Location: login.php", true, 307); exit; } ?>
= json_encode($user, JSON_PRETTY_PRINT); ?>Logout