How do I log a user out from previous devices when they log in on a new one? Realm Apps

Hi all,

I’m developing an iOS app using Realm Sync.
Is there a way to allow a user to be connected to only one device at a time? Meaning that if he has an active session on one device and wants to connect to another device, it will be automatically disconnected from the first one.

Thanks for your help!