feat(schemas): T17 add Pydantic auth schemas
Add authentication schemas for user registration and login: - UserRegister: email, password (with strength validation), password_confirm - UserLogin: email, password - UserResponse: id, email, created_at, is_active (orm_mode=True) - TokenResponse: access_token, token_type, expires_in - TokenData: user_id, exp Includes field validators for password strength and password confirmation matching. Test coverage: 19 tests for all schemas
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
| Metrica | Valore |
|
||||
|---------|--------|
|
||||
| **Stato** | 🟢 Security Services Completati |
|
||||
| **Progresso** | 20% |
|
||||
| **Progresso** | 23% |
|
||||
| **Data Inizio** | 2024-04-07 |
|
||||
| **Data Target** | TBD |
|
||||
| **Task Totali** | 74 |
|
||||
| **Task Completati** | 16 |
|
||||
| **Task Completati** | 17 |
|
||||
| **Task In Progress** | 0 |
|
||||
|
||||
---
|
||||
@@ -63,9 +63,9 @@
|
||||
**Test totali servizi:** 71 test passanti
|
||||
**Coverage servizi:** 100%
|
||||
|
||||
### 👤 Autenticazione Utenti (T17-T22) - 0/6 completati
|
||||
- [ ] T17: Creare Pydantic schemas auth (register/login)
|
||||
- [ ] T18: Implementare endpoint POST /api/auth/register
|
||||
### 👤 Autenticazione Utenti (T17-T22) - 1/6 completati
|
||||
- [x] T17: Creare Pydantic schemas auth (register/login) - ✅ Completato (2026-04-07 14:30)
|
||||
- [ ] T18: Implementare endpoint POST /api/auth/register - 🟡 In progress
|
||||
- [ ] T19: Implementare endpoint POST /api/auth/login
|
||||
- [ ] T20: Implementare endpoint POST /api/auth/logout
|
||||
- [ ] T21: Creare dipendenza get_current_user
|
||||
|
||||
Reference in New Issue
Block a user