ktor-client-auth
Toggle table of contents
3.4.3
common
Target filter
common
Switch theme
Search in API
Skip to content
ktor-client-auth
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