Hello guys, how to invalidate ktor client authoriz...
# ktor
b
Hello guys, how to invalidate ktor client authorization Bearer and force refresh. I am currently using the following and i would like to know if that is the best way of doing it
Copy code
client.plugin(Auth).providers.filterIsInstance<BearerAuthProvider>().firstOrNull()?.clearToken()
a
This is the only way.
b
Thanks