def check_url_kwargs(context, view_kwargs):
    """Return the kwargs that check_url() should be called with."""
    return {
        "url": context.proxied_url,
        "allow_all": view_kwargs["allow_all"],
        "blocked_for": context.query_params.get("via.blocked_for"),
    }