Apply ktor-client-auth library to auto refresh token

This commit is contained in:
2026-05-15 22:40:09 +07:00
parent e7c381a953
commit 28901df627
10 changed files with 116 additions and 80 deletions
+2 -1
View File
@@ -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"
]