Logout
When the user logs out of the app, it is also important that the app first stops the BleScan and then logs out from both the SDK ie the OAuth SDK and Access Control SDK. The following snippet of code does the job.
credentialManager.logOut()
spintlyOauthManager.clearSession();