onFailure

abstract fun onFailure()

Called when a token could not be obtained. This can happen if both of the following conditions are met:

  1. The token has expired.
  2. There is no network connection that can be used to get a new token from the Sentiance API.