FxaState

sealed class FxaState

Fxa state

These are the states of crate::FxaStateMachine that consumers observe.

Inheritors

Types

Link copied to clipboard
data class Authenticating(val oauthUrl: String, val initialState: FxaRustAuthState) : FxaState

User is currently performing an OAuth flow - our existing initial state when we transition to this state will influence what this means exactly.

Link copied to clipboard

User was connected to FxA, but we observed issues with the auth tokens. The user needs to reauthenticate before the account can be used.

Link copied to clipboard
object Companion
Link copied to clipboard

User is currently connected to FxA

Link copied to clipboard

User has not connected to FxA or has logged out

Link copied to clipboard

The state machine needs to be initialized via Event::Initialize.