signApiRequest

Type: function
Sign ApiRequest using Oauth1 using the specified key, secret, and algorithm, returning a new ApiRequest with a header named 'Authorization'. The following algorithms are supported: HmacMD5, HmacSHA1, HmacSHA256, HmacSHA384, and HmacSHA512.

Body

function(
  apiRequest, // ApiRequest
  key, // String
  secret, // String
  algorithm, // String
) {...}

Classpath

Children