def METHOD_NAME(
    self, foirequest: FoiRequest, request: HttpRequest
) -> Dict[str, Any]:
    user = foirequest.user
    action_url = user.get_autologin_url(foirequest.get_absolute_short_url())
    return {"user": user, "foirequest": foirequest, "action_url": action_url}