android-components / mozilla.components.service.sync.logins / AsyncLoginsStorage / sync

sync

abstract fun sync(syncInfo: SyncUnlockInfo): Deferred<SyncTelemetryPing> (source)

Synchronizes the logins storage layer with a remote layer.

RejectsWith SyncAuthInvalidException if authentication needs to be refreshed

RejectsWith RequestFailedException if there was a network error during connection.

RejectsWith LoginsStorageException if the storage is locked, and on unexpected errors (IO failure, rust panics, etc)