FirefoxAccount

constructor(pointer: <Error class: unknown class>)


constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.


constructor(config: FxaConfig)

Create a new `FirefoxAccount` instance, not connected to any account.

💾 This method alters the persisted account state.

This method constructs as new `FirefoxAccount` instance configured to connect the application to a user's account.