Ktor
Toggle table of contents
3.1.3
Select version
3.1.3
3.0.3
2.3.12
2.2.4
2.0.3
1.6.8
common
Platform filter
common
Switch theme
Search in API
Ktor
ktor-client-auth
/
io.ktor.client.plugins.auth.providers
/
BearerAuthConfig
/
refreshTokens
refresh
Tokens
fun
refreshTokens
(
block
:
suspend
RefreshTokensParams
.
(
)
->
BearerTokens
?
)
(
source
)
Configures a callback that refreshes a token when the 401 status code is received.
Report a problem