AuthState

sealed class AuthState

Represents the current authentication state of a rsdev.ovh.weconnect.WeConnect session.

Inheritors

Types

Link copied to clipboard
data class LoggedIn(val tokens: Tokens) : AuthState

An active session with valid (or refreshable) tokens.

Link copied to clipboard
data object LoggedOut : AuthState

No valid session; the user must call rsdev.ovh.weconnect.WeConnect.login.