object AccountSharing (source)
Allows querying trusted FxA Auth provider packages on the device for instances of ShareableAccount. Once an instance of ShareableAccount is obtained, it may be used with FxaAccountManager.migrateAccountAsync directly, or with FirefoxAccount.migrateFromSessionTokenAsync via ShareableAccount.authInfo.
Obtains package signature on devices running API>=28. Takes into consideration multiple signers and certificate rotation.
Obtains package signature on devices running API<28. Takes into consideration multiple signers, but not signature rotation.
Checks if package exists, and that its signature matches provided value.
Queries trusted FxA Auth providers present on the device, returning a list of accounts that can be used for signing in automatically.
Loads a file from the resources folder and returns its content as a string object.