OAuthUtil - Global

This script include modifies request parameters and parses the token response during runtime.

If the external OAuth provider returns a response other than an application/JSON type response, you can customize your own version of this script include to parse responses that are in different format. Extend or copy this script include, and then reference your version from the OAuth API Script field on the Application Registry form for third-party OAuth providers. The custom script include name must start with OAuth.

OAuthUtil - interceptRequestParameters(requestParamMap)

Adds a name:value pair to the request parameters.

Table 1. Parameters
Name Type Description
requestParamMap String The name:value pair you want to add.
Table 2. Returns
Type Description
void

OAuthUtil - parseTokenResponse(accessTokenResponse)

Parses the token received into a parameter map.

Table 3. Parameters
Name Type Description
accessTokenResponse String The access token response that you want to parse.
Table 4. Returns
Type Description
void