refreshAccessTokenIfNeeded
fun refreshAccessTokenIfNeeded(onRefreshAccessTokenIfNeededListener: OnRefreshAccessTokenIfNeededListener, handler: Handler = Handler(Looper.getMainLooper()))
Refresh access token when necessary.
Parameters
onRefreshAccessTokenIfNeededListener
The listener.
handler
The handler of the thread on which the listener is called.