android-components / mozilla.components.service.sync.logins / SyncableLoginsStore / <init>

<init>

SyncableLoginsStore(store: AsyncLoginsStorage, key: () -> Deferred<String>)

Wraps AsyncLoginsStorage instance along with a lazy encryption key.

This helper class lives here and not alongside AsyncLoginsStorage because we don't want to force a service-sync-logins dependency (which has a heavy native library dependency) on consumers of FirefoxSyncFeature.