SessionStatus

sealed interface SessionStatus(source)

Represents the status of the current session in Auth

Inheritors

Types

Link copied to clipboard
data class Authenticated(val session: UserSession, val source: SessionSource = SessionSource.Unknown) : SessionStatus

This status means that Auth holds a valid session

Link copied to clipboard

This status means that Auth is currently initializing the session

Link copied to clipboard
data class NotAuthenticated(val isSignOut: Boolean) : SessionStatus

This status means that the user is not logged in

Link copied to clipboard

This status means that Auth had an error while refreshing the session