anonpenguin23 4d700aed54 feat(gateway): enforce jwt expiry on persistent websockets
- implement `wsJWTExpired` to validate token lifetime with a grace period
- capture jwt expiry at connection upgrade and update via auth.refresh
- close connections with custom code 4401 when tokens expire to force re-auth
- add unit tests to verify expiry logic and state transitions
2026-06-12 10:12:21 +03:00
..
2026-03-26 18:24:47 +02:00
2026-06-11 11:45:12 +03:00