Name: oauth
Owner: request
Description: HTTP OAuth Authentication
Created: 2015-12-01 09:33:21.0
Updated: 2016-02-27 06:56:24.0
Pushed: 2015-12-02 09:47:49.0
Homepage: null
Size: 7
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
See @request/core for more details.
{}
see belowurl.parse()
'd objectGET
| POST
..a=1&b=2
a=1&b=2
{a:1,b:2}
consumer_secret
when using RSA-SHA1
signing1.0
HMAC-SHA1
| RSA-SHA1
| PLAINTEXT
header
| query
| form
true
to get one generated for youresult = oauth(options)
result instanceof Error) {
handle error
result = oauth(options)
transport = options.oauth.transport_method || 'header'
transport === 'header') {
q.headers['authorization'] = result
if (transport === 'query') {
append result to your querystring
if (transport === 'body') {
append result to your form body
This module may contain code snippets initially implemented in request by request contributors.