Called by the SDK when the authorisation token expires and an API called failed. The host application is expected to refresh the user's token and return the newly refreshed one.
The expired authorisation token
The newly refreshed authorisation token
Returns the user's authorisation token.