The SDK has been designed to provide a seamless and unified experience for the end users. After a user has been authenticated successfully, the SDK will persist the user session information. This ensures that users won’t need to reauthenticate during subsequent interactions, making the experience smoother. However, there could be scenarios where it’s necessary to remove or clear the persisted user session data from the client side. For instance, if a user logs out or if there’s a need to start a fresh session.Documentation Index
Fetch the complete documentation index at: https://developer.quicko.com/llms.txt
Use this file to discover all available pages before exploring further.
reset() Method
To facilitate this, the SDK provides the reset() method.
- Java
- Kotlin
- Swift
Sample Use Cases
User Logout
When a user logs out of your application, you can call the
reset() method to ensure that their session and related data are wiped clean.Privacy Mode
If your platform has a privacy mode or similar feature, where data persistence isn’t desired, you can use the
reset() method to clear session data whenever needed.Error Recovery
In rare cases, if there are session-related issues or anomalies, invoking the
reset() method can serve as a first step in troubleshooting, ensuring a clean slate.