Eliminated the `RevokedToken` model and associated logic for managing token revocation. Removed unused files, related tests, and outdated dependencies in authentication modules. Simplified token decoding, user validation, and dependency injection by streamlining the flow and enhancing maintainability.
52 lines
830 B
Plaintext
52 lines
830 B
Plaintext
# Core FastAPI framework and dependencies
|
|
fastapi>=0.115.8
|
|
uvicorn>=0.34.0
|
|
pydantic>=2.10.6
|
|
pydantic-settings>=2.2.1
|
|
python-multipart>=0.0.19
|
|
fastapi-utils==0.8.0
|
|
|
|
# Database
|
|
sqlalchemy>=2.0.29
|
|
alembic>=1.14.1
|
|
psycopg2-binary>=2.9.9
|
|
asyncpg>=0.29.0
|
|
aiosqlite==0.21.0
|
|
# Security and authentication
|
|
python-jose>=3.4.0
|
|
passlib>=1.7.4
|
|
bcrypt>=4.1.2
|
|
python-dotenv>=1.0.1
|
|
|
|
# API documentation
|
|
email-validator>=2.1.0.post1
|
|
ujson>=5.9.0
|
|
|
|
# CORS support
|
|
starlette>=0.40.0
|
|
starlette-csrf>=1.4.5
|
|
|
|
# Utilities
|
|
httpx>=0.27.0
|
|
tenacity>=8.2.3
|
|
pytz>=2024.1
|
|
pillow>=10.3.0
|
|
apscheduler==3.11.0
|
|
# Testing
|
|
pytest>=8.0.0
|
|
pytest-asyncio>=0.23.5
|
|
pytest-cov>=4.1.0
|
|
requests>=2.32.0
|
|
|
|
# Development tools
|
|
black>=24.3.0
|
|
isort>=5.13.2
|
|
flake8>=7.0.0
|
|
mypy>=1.8.0
|
|
|
|
# Security
|
|
python-jose==3.4.0
|
|
bcrypt==4.2.1
|
|
cryptography==44.0.1
|
|
passlib==1.7.4
|
|
freezegun~=1.5.1 |