Skip to content

src/dazzle_back/runtime/auth/middleware.py

Generated: 2026-03-30T04:38:46.894220+00:00

Commit: 615f1354a103

Language: python

Scope: dazzle_back

Purpose

Authentication middleware for FastAPI.

Key Exports

  • AuthMiddleware
  • get_auth_context
  • is_excluded_path

Dependencies

Imports

  • typing.Any
  • models.AuthContext
  • store.AuthStore

Event Interactions

None detected.

Invariants and Assumptions

No invariants documented.

Tests

  • tests/unit/test_tenant_middleware_routing.py
  • tests/unit/test_auth_action_handlers.py
  • tests/unit/test_auth_events.py
  • tests/unit/test_auth_flows.py
  • tests/unit/test_auth_schema_exclusion.py

Notes

This page was automatically generated by tools/gen_reference_docs.py.