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

unlock

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

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