Remote Logout
There's an excellent chance that a sizable portion of your user have multiple devices. Devices can get lost with sensitive data. Thus we've offered an API to logout of other devices while still maintaining your current session.
SyncUser.current?.remoteLogout() // this will logout other devices
SyncUser.current?.remoteLogout(deviceIds: arrayOfDeviceIds) // this will logout other devices by Id
SyncUser.current?.remoteLogout(deleteRealms: true) // this will logout other devices and delete their realms
Note: This will also unregister Push Notification Services