
- Create user model and database connection - Set up Alembic migrations - Implement JWT token authentication - Add routes for registration, login, refresh, and user profile - Create health endpoint - Configure CORS - Update README with setup and usage instructions
13 lines
427 B
Python
13 lines
427 B
Python
from app.auth.jwt import create_access_token, create_refresh_token, verify_token
|
|
from app.auth.password import get_password_hash, verify_password
|
|
from app.auth.dependencies import get_current_user, get_current_active_superuser
|
|
|
|
__all__ = [
|
|
"create_access_token",
|
|
"create_refresh_token",
|
|
"verify_token",
|
|
"get_password_hash",
|
|
"verify_password",
|
|
"get_current_user",
|
|
"get_current_active_superuser"
|
|
] |