/** * {@inheritdoc} */ public function processUserAccountIsAvailable(UserAccountInterface $user_account, $is_fully_authenticated, ServerRequestInterface $request, ResponseInterface $response, AuthorizationInterface $authorization) { if ($authorization->hasPrompt('login') && !$is_fully_authenticated) { throw new RedirectToLoginPageException($authorization); } }