feat: authentification back-office P2 (login/logout/reset, throttle, audit) #11
No reviewers
Labels
No labels
auto-merge
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AcadeNice/corentin_wakdo#11
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/p2-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Authentification back-office (P2), implemente mlt.md section 12.
Perimetre : login (12.1), logout (12.2), reinitialisation mot de passe (12.3),
SessionGuard (RG-6 / RG-T02, cable en P3), throttle par compte + par IP, audit_log.
Securite : sessions PHP + argon2id, regeneration d'ID a la connexion, jeton CSRF
synchroniseur, backoff degressif anti brute-force, anti-enumeration d'email (timing +
profil d'ecritures identique), fail-closed sur erreur base.
Qualite : 98 tests (unit DB-free + integration DB auto-skippee), PHPStan L6 vert,
E2E valide contre la base reelle. Revue adversariale passee, 6 findings corriges.
Doc : docs/api/conventions.md (conventions de nommage + listing des endpoints).
Base volontaire : dev.