js-bao-wss-client / LogoutOptions
Interface: LogoutOptions
Options for JsBaoClient.logout.
Properties
clearOfflineIdentity?
optionalclearOfflineIdentity?:boolean
If false, preserves the in-memory offline identity after logout (default true).
redirectTo?
optionalredirectTo?:string
URL to navigate to after logout completes (browser only).
revokeOffline?
optionalrevokeOffline?:boolean
If true, revokes the stored offline access grant.
waitForDisconnect?
optionalwaitForDisconnect?:boolean
If true, awaits WebSocket disconnection before resolving; set to false to avoid blocking UI (default false).
wipeLocal?
optionalwipeLocal?:boolean
If true, deletes all locally cached document data and KV cache.