Name Description Size Coverage
AuthImplSelector.sys.mjs Chooses and owns the AuthProviderImpl used by AuthProvider, based on the auth impl pref and the Mozilla account state. The impl is chosen on first use, and the FxA choice is persisted in the auth impl pref. If a Nimbus enrollment sets the smartWindow authImpl variable, its value is copied to the auth impl pref when the pref has a different value. Unenrolling does not reset the pref; it goes back to FxA when the server rejects the guest token or when the user signs in. @fires AuthImplSelector#"AuthImplSelector:Logout" When the user signs out of their account. @fires AuthImplSelector#"AuthImplSelector:ImplChanged" When an impl is set. detail: { providerName } @fires AuthImplSelector#"AuthImplSelector:ImplSwitched" When the selection replaces an impl already in use with one of another type. detail: { from, to, reason } 6362 -
AuthProviderImpl.sys.mjs Base class for the account backends used by AuthProvider. Subclasses implement every method below. @fires AuthProviderImpl#"AuthProviderImpl:Logout" When the user signs out of their account. @fires AuthProviderImpl#"AuthProviderImpl:FallbackNeeded" When this backend can no longer be used and AuthProvider should switch to another one. detail: { reason }, recorded as the reason key on auth_impl_switched. 2109 -
FxaAuthProviderImpl.sys.mjs AuthProviderImpl backed by Mozilla accounts. 2622 -
FxaSignedInWatcher.sys.mjs Tracks whether a verified Mozilla account is signed in, so that the last known state can be read synchronously. @fires FxaSignedInWatcherSingleton#"FxaSignedInWatcher:StateChanged" When the signed-in state changes. 2332 -
GuestAuthProviderImpl.sys.mjs AuthProviderImpl that obtains a guest token from MLPA, without an account. 5139 -
moz.build 468 -