android: add auth sessions hardening APIs and tests
Some checks are pending
CI / test (push) Has started running
Some checks are pending
CI / test (push) Has started running
This commit is contained in:
@@ -142,3 +142,11 @@
|
||||
- Improved socket lifecycle hygiene by cancelling heartbeat on close/failure/disconnect paths.
|
||||
- Added `connect` event mapping and centralized reconcile trigger in realtime handler.
|
||||
- On realtime reconnect, chat repository now refreshes `all` and `archived` snapshots to reduce stale state after transient disconnects.
|
||||
|
||||
### Step 23 - Sprint P0 / 6) Auth hardening foundation
|
||||
- Extended auth API/repository contracts with sessions management endpoints:
|
||||
- `GET /api/v1/auth/sessions`
|
||||
- `DELETE /api/v1/auth/sessions/{jti}`
|
||||
- `DELETE /api/v1/auth/sessions`
|
||||
- Added domain model and use-cases for listing/revoking sessions.
|
||||
- Added unit coverage for session DTO -> domain mapping in `NetworkAuthRepositoryTest`.
|
||||
|
||||
Reference in New Issue
Block a user