Issue daemon auth tokens (mdt_) on pairing session claim, bound to workspace_id + daemon_id with 1-year expiry. Add DaemonAuth middleware that validates these tokens and falls back to JWT/PAT for backward compatibility. Apply middleware to all daemon routes except pairing endpoints. |
||
|---|---|---|
| .. | ||
| activity_listeners.go | ||
| activity_listeners_test.go | ||
| integration_test.go | ||
| listeners.go | ||
| main.go | ||
| notification_listeners.go | ||
| notification_listeners_test.go | ||
| router.go | ||
| runtime_sweeper.go | ||
| subscriber_listeners.go | ||
| subscriber_listeners_test.go | ||