Class SpazOAuth#signRequest
SpazOAuth
Defined in: spazauth.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SpazOAuth#signRequest(method, url, parameters)
Sign a HTTP request and return oAuth header
|
Class Detail
SpazOAuth#signRequest(method, url, parameters)
Sign a HTTP request and return oAuth header
- Parameters:
- {string} method
- HTTP method of the request
- {string} url
- the URL of the request
- {object} parameters
- map of all parameters in the request
- Returns:
- {string} Authorization header value