OAuth Config Objects

The following objects are used in the OAuth Config Definition.

OAuth Request Definition Object

The OAuth request definition object describes a request made to an identity provider as part of the OAuth process.

NameTypeRequired?Description
methodstring

The HTTP method to use for this request. Valid values include the following:

  • GET
  • POST
  • PUT
urlstring

The URL for this request.

contentTypestring

The content-type for the body parameters. Valid values include:

  • application/json (default)
  • application/x-www-form-urlencoded
bodyParametersobject[]

An array of body parameters that should be included as part of the request.

bodyParameters[].namestring

The name of the parameter.

bodyParameters[].valuestring

The value of the parameter.

bodyParameters[].encodingstring

The type of encoding used for this parameter. The values currently supported are base64 and basic-auth.

headerParametersobject[]

An array of header parameters that should be included as part of the request.

headerParameters[].namestring

THe name of the parameter.

headerParameters[].valuestring

The value of the parameter.

headerParameters[]   .encodingstring

The type of encoding used for this parameter. The values currently supported are base64 and basic-auth.

queryParametersobject[]

An array of query parameters that should be included as part of the request.

queryParameters[].namestring

The name of the parameter.

queryParameters[].valuestring

The value of the parameter.

queryParameters[]   .encodingstring

The type of encoding used for this parameter. The values currently supported are base64 and basic-auth.

OAuth Response Definition Object

The OAuth response definition object describes a response received from an identity provider as part of the OAuth process.

NameTypeRequired?Description
bodyParametersobject[]

An array of body parameters that should be included as part of the request.

bodyParameters[].namestring

The name of the parameter.

bodyParameters[].valuestring

The value of the parameter.

bodyParameters[].encodingstring

The type of encoding used for this parameter. The only value currently supported is base64.

headerParametersobject[]

An array of header parameters that should be included as part of the request.

headerParameters[].namestring

THe name of the parameter.

headerParameters[].valuestring

The value of the parameter.

headerParameters[]   .encodingstring

The type of encoding used for this parameter. The only value currently supported is base64.

queryParametersobject[]

An array of query parameters that should be included as part of the request.

queryParameters[].namestring

The name of the parameter.

queryParameters[].valuestring

The value of the parameter.

queryParameters[]   .encodingstring

The type of encoding used for this parameter. The only value currently supported is base64.