Skip to main content

build_router_with_config

Function build_router_with_config 

Source
pub fn build_router_with_config(
    state: Arc<AppState>,
    auth: AuthConfig,
    tenant: TenantConfig,
) -> Router
Expand description

Build the router with explicit auth / tenant config and the rate limiter disabled. Backwards-compatible shim retained for integration tests that pre-date the per-token rate limiter; new tests should call build_router_with_full_config.