Add login management.

This commit is contained in:
Thomas Andres Gomez 2021-05-08 14:01:57 +02:00
parent 8fbe3c0b7b
commit 45d2fe1336
14 changed files with 366 additions and 158 deletions

View file

@ -6,6 +6,10 @@ import com.google.gson.GsonBuilder
import com.pixelized.biblib.injection.Bob
import com.pixelized.biblib.network.client.BibLibClient
import com.pixelized.biblib.network.client.IBibLibClient
import com.pixelized.biblib.repository.credential.CredentialRepository
import com.pixelized.biblib.repository.credential.ICredentialRepository
import com.pixelized.biblib.repository.googlesignin.GoogleSingInRepository
import com.pixelized.biblib.repository.googlesignin.IGoogleSingInRepository
import com.pixelized.biblib.utils.BitmapCache
class BibLibApplication : Application() {
@ -18,5 +22,8 @@ class BibLibApplication : Application() {
Bob[Gson::class] = GsonBuilder().create()
Bob[IBibLibClient::class] = BibLibClient()
Bob[IGoogleSingInRepository::class] = GoogleSingInRepository(this)
Bob[ICredentialRepository::class] = CredentialRepository(this)
}
}