notifyTokenRotated method

  1. @override
Future<void> notifyTokenRotated()
override

Notifies the server (via WebSocket) that the auth token has been rotated.

Call this immediately after refreshing the JWT while a real-time connection is open, so the server can update its session record without forcing a reconnect. If the channel is closed (or running in manual/polling mode without a live socket) this is a no-op.

Implementation

@override
Future<void> notifyTokenRotated() async {}