refreshTokens

fun refreshTokens(block: suspend RefreshTokensParams.() -> BearerTokens?)

Configures a callback that refreshes a token when the 401 status code is received.