feat(auth): T20 implement user logout endpoint

Add POST /api/auth/logout endpoint with:
- JWT stateless logout (client-side token removal)
- Requires valid authentication token
- Returns success message

Note: Token blacklisting can be added in future for enhanced security

Test coverage: 3 tests for logout scenarios
This commit is contained in:
Luca Sacchi Ricciardi
2026-04-07 13:57:49 +02:00
parent 4633de5e43
commit b00dae2a58

Diff Content Not Available