You can set HTTP headers for the Android Hybrid Web Container to include
authentication tokens.
There are three sample methods showing how to do this in the Android Hybrid Web Container
template source code, which include:
- setHttpHeaders()
– use this method to set the authentication tokens. The tokens you set are used
until setHttpHeaders is called again.
- setWorkflowTokenErrorListener()
– use this method to call setHttpHeaders()
to put the authentication tokens back in a good state, if, for example, they have
expired.
- setHttpErrorListener() – use
this method to handle HTTP errors.
The comment tag associated with setting HTTP headers is
ANDROID_CUSTOMIZATION_POINT_HTTPHEADERS.