atticus
12/06/2024, 11:27 AMio.ktor.client.plugins.auth, and it has a method fun HttpRequestBuilder.markAsRefreshTokenRequest(). Its description is: "Marks that this request is for refreshing auth tokens, resulting in a special handling of it."
Could someone explain what this method actually does?
What does "special handling of it" mean?Aleksei Tirman [JB]
12/06/2024, 1:10 PMrefreshTokens lambda when the client gets a 401 response from the server while refreshing the token.atticus
12/06/2024, 2:11 PMmarkAsRefreshTokenRequest(), does it prevent an indefinite loop?Aleksei Tirman [JB]
12/06/2024, 2:12 PM