interface AsyncLoginsStorage : AutoCloseable
An interface equivalent to the LoginsStorage interface, but where operations are asynchronous. |
|
open class AsyncLoginsStorageAdapter<T : LoginsStorage> : AsyncLoginsStorage, AutoCloseable
A helper class to wrap a synchronous LoginsStorage implementation and make it asynchronous. |
|
data class SyncableLoginsStore : SyncableStore<SyncUnlockInfo>
Wraps AsyncLoginsStorage instance along with a lazy encryption key. |
typealias IdCollisionException = IdCollisionException
This is thrown if |
|
typealias InvalidKeyException = InvalidKeyException
This error is emitted in two cases: |
|
typealias InvalidRecordException = InvalidRecordException
This is thrown on attempts to insert or update a record so that it is no longer valid, where "invalid" is defined as such: |
|
typealias LoginsStorageException = LoginsStorageException
The base class of all errors emitted by logins storage. |
|
typealias MismatchedLockException = MismatchedLockException
This is thrown if |
|
typealias NoSuchRecordException = NoSuchRecordException
This is thrown if |
|
typealias RequestFailedException = RequestFailedException
This error is emitted if a request to a sync server failed. |
|
typealias ServerPassword = ServerPassword
Raw password data that is stored by the storage implementation. |
|
typealias SyncAuthInvalidException = SyncAuthInvalidException
This indicates that the authentication information (e.g. the SyncUnlockInfo) provided to AsyncLoginsStorage.sync is invalid. This often indicates that it's stale and should be refreshed with FxA (however, care should be taken not to get into a loop refreshing this information). |
|
typealias SyncUnlockInfo = SyncUnlockInfo
This type contains the set of information required to successfully connect to the server and sync. |