onAccessTokenRequired abstract method

void onAccessTokenRequired(
  1. AccessTokenRequester accessTokenRequester
)

App needs to fetch a new token and pass on the new token to SDK via AccessTokenRequester.onSuccess, or AccessTokenRequester.onFail if error has occurred during the fetch.

In case when app decides not to refresh the session for the user, they should call AccessTokenRequester.onSuccess with null as a token value.

Implementation

void onAccessTokenRequired(AccessTokenRequester accessTokenRequester);