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

6 lines
216 B
Python
Raw Normal View History

"""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.
"""