Add loading and error dialogs for authentication.

This commit is contained in:
Thomas Andres Gomez 2021-05-08 21:07:17 +02:00
parent b07bfd45d3
commit 59d84963a9
11 changed files with 296 additions and 127 deletions

View file

@ -22,7 +22,7 @@ class BibLibClient : IBibLibClient {
///////////////////////////////////
// region BibLib webservice Auth
override fun updateBearerToken(token: String?) {
override fun updateBearerToken(token: String) {
interceptor.token = token
}

View file

@ -4,7 +4,7 @@ interface IBibLibClient {
val service: IBibLibWebServiceAPI
fun updateBearerToken(token: String?)
fun updateBearerToken(token: String)
companion object {
const val BASE_URL = "https://bib.bibulle.fr"