Name Description Size
Credentials.jsm This module implements client-side key stretching for use in Firefox Accounts account creation and login. See 4237
FxAccounts.jsm 61813
FxAccountsClient.jsm Return client clock offset, in milliseconds, as determined by hawk client. Provided because callers should not have to know about hawk implementation. The offset is the number of milliseconds that must be added to the client clock to make it equal to the server clock. For example, if the client is five minutes ahead of the server, the localtimeOffsetMsec will be -300000. 25653
FxAccountsCommands.js Poll and handle device commands for the current device. This method can be called either in response to a Push message, or by itself as a "commands recovery" mechanism. @param {Number} receivedIndex "Command received" push messages include the index of the command that triggered the message. We use it as a hint when we have no "last command index" stored. 12636
FxAccountsCommon.js 22685
FxAccountsConfig.jsm @param path should be parsable by the URL constructor first parameter. @param {bool} [options.includeDefaultParams] If true include the default search params. @param {Object.<string, string>} [options.extraParams] Additionnal search params. @param {bool} [options.addAccountIdentifiers] if true we add the current logged-in user uid and email to the search params. 8819
FxAccountsDevice.jsm 18077
FxAccountsKeys.jsm Checks if we currently have encryption keys or if we have enough to be able to successfully fetch them for the signed-in-user. 9537
FxAccountsOAuthGrantClient.jsm Firefox Accounts OAuth Grant Client allows clients to obtain an OAuth token from a BrowserID assertion. Only certain client IDs support this privilege. 6462
FxAccountsPairing.jsm The pairing flow can be modeled by a finite state machine: We start by connecting to a WebSocket channel (SuppConnectionPending). Then the other party connects and requests some metadata from us (PendingConfirmations). A confirmation happens locally first (PendingRemoteConfirmation) or the oppposite (PendingLocalConfirmation). Any side can decline this confirmation (Aborted). Once both sides have confirmed, the pairing flow is finished (Completed). During this flow errors can happen and should be handled (Errored). 12667
FxAccountsPairingChannel.js / (function(modules) { // webpackBootstrap /***** 113390
FxAccountsProfile.jsm Firefox Accounts Profile helper. This class abstracts interaction with the profile server for an account. It will handle things like fetching profile data, listening for updates to the user's profile in open browser tabs, and cacheing/invalidating profile data. 5656
FxAccountsProfileClient.jsm A client to fetch profile information for a Firefox Account. 8301
FxAccountsPush.jsm FxAccountsPushService manages Push notifications for Firefox Accounts in the browser @param [options] Object, custom options that used for testing @constructor 10014
FxAccountsStorage.jsm 23568
FxAccountsTelemetry.jsm 5221
FxAccountsWebChannel.jsm Firefox Accounts Web Channel. Uses the WebChannel component to receive messages about account state changes. 23024
components.conf 659
interfaces 2 1098
tests 3