refreshTokens

suspend override fun refreshTokens(data: BearerAuthTokens, response: HttpResponse): BearerTokens?

Used as Ktor's BearerAuthConfig.refreshTokens. Calls loadTokens by default.

Sources

Link copied to clipboard