SessionManager

Represents the session manager. Used for saving and restoring the session from storage

Inheritors

Functions

Link copied to clipboard
abstract suspend fun deleteSession()

Deletes the saved session from storage.

Link copied to clipboard
abstract suspend fun loadSession(): UserSession?

Loads the saved session from storage.

Link copied to clipboard
abstract suspend fun saveSession(session: UserSession)

Saves the given session.