BayunCoreSDK C++ Programming Guide
  • 1. Introduction
  • 2. Quick Start Guide for Beginners
  • 3. Getting Started
  • 4. Authentication
    • 4.1 Register with Password
    • 4.2 Register without Password
    • 4.3 Login with Password
    • 4.4 Login without Password
    • 4.5 Logout
    • 4.6 Authorization
    • 4.7 Change Password
  • 5. BayunCoreSDK Operations
    • 5.1 Lock/Unlock File
    • 5.2 Lock/Unlock Text
    • 5.3 Lock/Unlock Binary Data
    • 5.4 Get Locking Key
  • 6. Groups
    • 6.1 Create Group
    • 6.2 Get My Groups
    • 6.3 Get Unjoined Public Groups
    • 6.4 Join Public Group
    • 6.5 Get Group By Id
    • 6.6 Add Group Member
    • 6.7 Add Group Members
    • 6.8 Remove Group Member
    • 6.9 Remove Group Members
    • 6.10 Remove Group Members Except List
    • 6.11 Leave Group
    • 6.12 Delete Group
  • 7. Run the sample program
Powered by GitBook
On this page

Was this helpful?

  1. 4. Authentication

4.5 Logout

To logout a user, use logout function. This function can be used at the time of logging out of app.

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.

Previous4.4 Login without PasswordNext4.6 Authorization

Last updated 1 year ago

Was this helpful?