accounts/account/api
Haitao Pan 8edeb75391 feat(auth): implement dual-layer token authentication with config support
- Add auth.enable configuration field (default: true)
- Add TokenService initialization in account service
- Implement token exchange endpoint (/api/auth/token/exchange)
- Implement token refresh endpoint (/api/auth/token/refresh)
- Protect routes with JWT authentication middleware
- Update configuration structures for all services
- Support accessSecret with configurable expiry times
- Update token management script to handle all token types
- Validate auth configuration consistency across services
2025-11-05 20:11:23 +08:00
..
admin_agents.go Allow combined server and agent mode (#595) 2025-10-27 21:02:03 +08:00
admin_settings_test.go Align admin settings persistence with public schema (#512) 2025-10-13 13:40:00 +08:00
admin_users_metrics.go Allow combined server and agent mode (#595) 2025-10-27 21:02:03 +08:00
api_test.go Refine registration flow with verification gate (#623) 2025-11-01 21:34:35 +08:00
api.go feat(auth): implement dual-layer token authentication with config support 2025-11-05 20:11:23 +08:00
config_sync.go Add desktop config sync endpoint stub (#597) 2025-10-28 09:47:30 +08:00
email.go feat(account): add email verification and password reset (#378) 2025-10-02 17:56:30 +08:00