FxaState
public enum FxaState : Equatable, Hashable
extension FxaState: Sendable
Fxa state
These are the states of [crate::FxaStateMachine] that consumers observe.
-
The state machine needs to be initialized via [Event::Initialize].
Declaration
Swift
case uninitialized -
User has not connected to FxA or has logged out
Declaration
Swift
case disconnected -
User is currently performing an OAuth flow - our existing initial state when we transition to this state will influence what this means exactly.
Declaration
Swift
case authenticating(oauthUrl: String, initialState: FxaRustAuthState ) -
User is currently connected to FxA
Declaration
Swift
case connected -
User was connected to FxA, but we observed issues with the auth tokens. The user needs to reauthenticate before the account can be used.
Declaration
Swift
case authIssues