accounts/account/config
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
..
account-agent.yaml Embed Xray config template in generator (#601) 2025-10-30 13:45:27 +08:00
account-server.yaml Embed Xray config template in generator (#601) 2025-10-30 13:45:27 +08:00
account.yaml feat(auth): implement dual-layer token authentication with config support 2025-11-05 20:11:23 +08:00
config.go feat(auth): implement dual-layer token authentication with config support 2025-11-05 20:11:23 +08:00
sync.example.yaml Add SSH-based account sync utility (#602) 2025-10-30 14:07:53 +08:00
sync.yaml update: account/config/sync.yaml 2025-11-05 16:36:08 +08:00
xray.config.template.json Embed Xray config template in generator (#601) 2025-10-30 13:45:27 +08:00