refreshToken

open suspend fun refreshToken(response: HttpResponse): Boolean

Refreshes a token if required.

Return

if the token was successfully refreshed.

Parameters

call
  • response triggered token refresh.