Automated Action 5b55eedd2b Implement User Authentication and Authorization Service
This commit includes:
- User registration and authentication API with JWT
- Password reset functionality
- Role-based access control system
- Database models and migrations with SQLAlchemy and Alembic
- API documentation in README

generated with BackendIM... (backend.im)
2025-05-15 19:46:38 +00:00

11 lines
187 B
Python

from pydantic import BaseModel, EmailStr
class Login(BaseModel):
email: EmailStr
password: str
class ChangePassword(BaseModel):
current_password: str
new_password: str