ktor
2.2.4
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
ktor-client-auth
/
io.ktor.client.plugins.auth.providers
/
BearerAuthConfig
/
refreshTokens
refresh
Tokens
fun
refreshTokens
(
block
:
suspend
RefreshTokensParams
.
(
)
->
BearerTokens
?
)
Configures a callback that refreshes a token when the 401 status code is received.