aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/server/routes/auth.test.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-03 05:54:50 +0900
committernsfisis <nsfisis@gmail.com>2025-12-04 23:26:31 +0900
commit4d30f46d4691c9aead411b893b1ab279b05d439c (patch)
treeb5c05015a4b367daf7d9d885f67a7fb1cbc0d0bf /src/server/routes/auth.test.ts
parent0763153865e2157e0d06c946993dd8b235b06c83 (diff)
downloadkioku-4d30f46d4691c9aead411b893b1ab279b05d439c.tar.gz
kioku-4d30f46d4691c9aead411b893b1ab279b05d439c.tar.zst
kioku-4d30f46d4691c9aead411b893b1ab279b05d439c.zip
feat(auth): add auth middleware for JWT validation
Add middleware that validates JWT tokens from Authorization header and sets authenticated user in request context. Includes helper function getAuthUser() to retrieve user from context with proper error handling. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'src/server/routes/auth.test.ts')
0 files changed, 0 insertions, 0 deletions