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:
parent
fa4bdf1bed
commit
136cbf3ed1
9 changed files with 84 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue