/** * Authenticate request timeout * @param IInput $input * @return bool * * @throws RequestTimeoutException */ protected function authRequestTimeout(IInput $input) { if ($this->user->getLogoutReason() === IUserStorage::INACTIVITY) { throw new RequestTimeoutException('User session expired'); } }