问题
I'm using Sinch SDK for instant messaging. How to logout user? I have button to logout user, but can't implement that feature in Sinch SDK. Neither their docs or samples describe such feature.
回答1:
The sinch client does not have a logout, we consider mobile users to be "online" what you can do if you i.e don't want to receive more push messages is to unregister push data, and if you are not using push, just stop the client. We are using delegated security so if you tell us Joe is logged in with you key and secret we trust that you have verified the user.
来源:https://stackoverflow.com/questions/31514226/sinch-sdk-how-to-logout-user