LogoutAndFinishSession

LogoutAndFinishSession is a use case that should be called when it is required to logout and finish the session of a user operator. Be aware that this function will delete the session from the server and clear all local data.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend operator fun invoke(sessionToken: String? = null): ResultS1SDK<Boolean, ErrorS1SDK>

This function should be called when it is required to logout and finish the session of a user operator. It will delete the session from the server and clear all local data.