To logout a user, use logout function. This function can be used at the time of logging out of app.
logout
The function takes the following parameters :
sessionId : Unique SessionId which is received in the login function response.
#include "BayunCore.h" bayunCore->logout("<sessionId>")
In order to use Bayun functions after logout, you will need to login the user again.
Last updated 2 years ago