MemorySessionManager

A SessionManager that uses the AtomicRef API.

Constructors

Link copied to clipboard
constructor(session: UserSession? = null)

Functions

Link copied to clipboard
open suspend override fun deleteSession()

Deletes the saved session from storage.

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

Loads the saved session from storage.

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

Saves the given session.