signApiRequest

Type: function
Sign ApiRequest using Oauth1 using the specified key, secret, and algorithm, along with token and tokenKey, returning a new ApiRequest with a header that has the name provided in the authHeader arg. The following algorithms are supported: HmacMD5, HmacSHA1, HmacSHA256, HmacSHA384, and HmacSHA512.

Body

function(
  apiRequest, // ApiRequest
  key, // String
  secret, // String
  algorithm, // String
  authHeader, // String
  token, // Option[String]
  tokenSecret, // Option[String]
) {...}

Classpath

Children