def METHOD_NAME() -> ResponseReturnValue | None:
    """Request a login for every page
    except the login blueprint and the static folder.
    Blueprint "None" is needed for "/static/*" GET requests.
    """
    if current_user.is_anonymous and request.blueprint not in ("login", 'api', None):
        lm = t.cast(LoginManager, current_app.login_manager)  # type: ignore[attr-defined]
        return lm.unauthorized()
    return None