onFailure

abstract fun onFailure(errorMessage: String)(source)

Override this to define what to do after authentication has failed. You may want to use SpotifyDefaultCredentialStore to remove any stored token.