SessionTokenRequester

Interface that is passed on to SessionHandler.onSessionTokenRequired. After the application fetches the new token, it should pass on the token to SDK through onSuccess. If any error occurred during this process, it must call onFail to let SDK know the status.

Since

3.0.150

Functions

Link copied to clipboard
abstract fun onFail()

Call this method when failed to retrieve a new token.

Link copied to clipboard
abstract fun onSuccess(newToken: String?)

Call this method after retrieving a new token.