CustomizationHelper.m also includes stub
implementations of onWorkflowTokenError and
onHTTPError that you can implement. The onWorkflowTokenError method is called when Workflow token
authentication failure occurs, so it is a good idea to use this callback as an
opportunity to refresh the HTTP headers again. A common way to do this is to maintain
member variables that contain the values for the headers you want to set. Implement
the setHttpHeaders function to use the values in those member
variables when it sets the headers, then, in onWorkflowTokenError,
you can update the member variables with the new header values, and then call
setHttpHeaders again, for example:
[[CustomizationHelper getInstance]
setHttpHeaders];