android-components / mozilla.components.service.sync.logins / AsyncLoginsStorageAdapter / unlock

unlock

open fun unlock(encryptionKey: String): Deferred<Unit> (source)

Overrides AsyncLoginsStorage.unlock

Unlocks the logins storage using the provided key.

Exceptions

InvalidKeyException - if the encryption key is wrong, or the db is corrupt

MismatchedLockException - if we're already unlocked