1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-2660 Login | Tech | Seed phrase check (#1385)

This commit is contained in:
Konstantin Ivanov 2024-07-10 15:54:35 +02:00 committed by konstantiniiv
parent fa4bdf1bed
commit 136cbf3ed1
9 changed files with 84 additions and 9 deletions

View file

@ -9,7 +9,7 @@ interface AuthCache {
suspend fun updateAccount(account: AccountEntity)
suspend fun saveMnemonic(mnemonic: String)
suspend fun getMnemonic(): String
suspend fun getMnemonic(): String?
suspend fun getCurrentAccount(): AccountEntity
suspend fun getCurrentAccountId(): String

View file

@ -31,7 +31,7 @@ interface AuthDataStore {
suspend fun recoverWallet(path: String, mnemonic: String)
suspend fun convertWallet(entropy: String): String
suspend fun saveMnemonic(mnemonic: String)
suspend fun getMnemonic(): String
suspend fun getMnemonic(): String?
suspend fun logout(clearLocalRepositoryData: Boolean)
suspend fun getAccounts(): List<AccountEntity>