omnidiag / backend /auth /__init__.py
yahyoha's picture
feat(auth): add JWT authentication system with bcrypt + API key support
a579d44
Raw
History Blame Contribute Delete
478 Bytes
"""
OmniDiag β€” Auth Package
========================
JWT-based authentication and authorization for the OmniDiag API.
Modules:
hashing β€” bcrypt password hashing/verification via passlib
jwt β€” JWT token creation and decoding via python-jose
schemas β€” Pydantic request/response models for auth endpoints
dependencies β€” FastAPI dependencies (get_current_user, get_current_active_user)
routes β€” /auth/* endpoint definitions
"""