Emitted when tokens are refreshed via signinSilent(). This is critical for refresh token rotation - when client-side refresh happens, the new tokens must be synced to server-side session to prevent race conditions.
Emitted when the user is removed from local storage due to a permanent auth error. Only emitted for errors where the refresh token is truly invalid:
NOT emitted for transient errors (network, timeout, server errors) - user stays logged in. Consumers should sync this state by clearing their session (e.g., NextAuth signOut).
Authentication events emitted by the Auth class