android-components / mozilla.components.service.fxa.manager

Package mozilla.components.service.fxa.manager

Types

Name Summary
AccountState enum class AccountState
States of the FxaAccountManager.
AuthErrorObserver interface AuthErrorObserver
FxaAccountManager open class FxaAccountManager : Closeable, Observable<AccountObserver>
An account manager which encapsulates various internal details of an account lifecycle and provides an observer interface along with a public API for interacting with an account. The internal state machine abstracts over state space as exposed by the fxaclient library, not the internal states experienced by lower-level representation of a Firefox Account; those are opaque to us.

Properties

Name Summary
SCOPE_PROFILE const val SCOPE_PROFILE: String
SCOPE_SYNC const val SCOPE_SYNC: String
authErrorRegistry val authErrorRegistry: ObserverRegistry<AuthErrorObserver>
A global registry for propagating AuthException errors. Components such as SyncManager and FxaDeviceRefreshManager may encounter authentication problems during their normal operation, and this registry is how they inform FxaAccountManager that these errors happened.