Apply ktor-client-auth library to auto refresh token
This commit is contained in:
@@ -53,6 +53,7 @@ ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negoti
|
||||
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
|
||||
ktor-client-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" }
|
||||
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
|
||||
ktor-client-auth = { module = "io.ktor:ktor-client-auth", version.ref = "ktor" }
|
||||
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
|
||||
ktor-client-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
|
||||
logger-napier = { module = "io.github.aakira:napier", version.ref = "logger" }
|
||||
@@ -69,7 +70,7 @@ kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", versi
|
||||
ktor = [
|
||||
"ktor-client-core",
|
||||
"ktor-client-content-negotiation",
|
||||
# "ktor-client-auth",
|
||||
"ktor-client-auth",
|
||||
"ktor-client-logging",
|
||||
"ktor-serialization-kotlinx-json"
|
||||
]
|
||||
Reference in New Issue
Block a user