From a4a389e5c3368096dd3ebd253558ec18151710d6 Mon Sep 17 00:00:00 2001 From: nfel Date: Sun, 30 Aug 2026 15:34:31 +0330 Subject: [PATCH] docs: record JWT verifier boundary --- REFACTORING-AUDIT.md | 1 + REFACTORING-TODO.md | 1 + 2 files changed, 2 insertions(+) diff --git a/REFACTORING-AUDIT.md b/REFACTORING-AUDIT.md index debd865..8c948f9 100644 --- a/REFACTORING-AUDIT.md +++ b/REFACTORING-AUDIT.md @@ -295,6 +295,7 @@ The current composition root is `cmd/serve.go`; `repository.System` aggregates P - Extracted HTTP bearer-token normalization into `application/auth` and kept JWT verification/error mapping behavior unchanged; focused and full Auth tests pass in `1d72faa`. - Extracted refresh-token marker validation into `application/auth` while preserving refresh-flow behavior; full Auth tests pass in `4225332`. +- Added access/refresh JWT verifier contracts and an infrastructure adapter delegating to the existing parser; full Auth tests pass in `ad6f5cc`. Runtime injection into all auth flows remains. - A005 remains in progress: JWT validation, session checks, refresh-token flow, and broader authentication orchestration still need application ports and adapters. ### `I001` — publisher-backed ICO purchase map diff --git a/REFACTORING-TODO.md b/REFACTORING-TODO.md index 618cb0c..f19373c 100644 --- a/REFACTORING-TODO.md +++ b/REFACTORING-TODO.md @@ -299,3 +299,4 @@ Append one row whenever a task changes status. Existing rows are never rewritten | 2026-08-30 | A004 | `STARTED` | `DONE` | Added thin gRPC registration adapters and routed Auth service registration through them; full Auth tests pass in `b56d54c`. | | 2026-08-30 | A005 | `TODO` | `STARTED` | Extracted bearer-token normalization into `application/auth`; full Auth tests pass in `1d72faa`. | | 2026-08-30 | A005 | `STARTED` | `STARTED` | Extracted refresh-token marker validation into `application/auth`; full Auth tests pass in `4225332`. | +| 2026-08-30 | A005 | `STARTED` | `STARTED` | Added application JWT verifier contract and infrastructure adapter for access/refresh claims; full Auth tests pass in `ad6f5cc`. |