To logout 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/registration function response.
const sessionId = "<sessionId>"; bayunCore.logout(sessionId);
Last updated 1 year ago