Files
AIRegulation-DocAnalysis/backend/app/api/dependencies/__init__.py
T

6 lines
216 B
Python
Raw Normal View History

2026-06-05 18:00:31 +08:00
"""FastAPI dependency functions for authentication and authorisation.
Import `get_current_user` or `require_role` into route modules to protect
endpoints. Both use the shared JWTHandler wired through bootstrap.
"""