refresh

open suspend override fun refresh(): Boolean(source)

Performs the token refresh.

This is where you call your refresh endpoint — it can be on a completely different base URL or API than the main KHttpConfig.baseUrl.

Return

true if new tokens were successfully obtained and persisted, false otherwise.