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.