Oauth 1.0a Versions Save

OAuth 1.0a Request Authorization for Node and Browser

1.0.1

8 years ago

#28

1.0.0

8 years ago
  • #18
  • follow semver

0.2.1

9 years ago
  • add HMAC-SHA256

0.1.1

10 years ago

#8

0.1.0

10 years ago

##Options

var oauth = OAuth(/* options */);
  • consumer: Object Required your consumer keys
{
    public: <your consumer key>,
    secret: <your consumer secret>
}
  • signature_method: String default 'HMAC-SHA1'
  • nonce_length: Int default 32
  • version: String default '1.0'
  • parameter_seperator: String for header only, default ', '. Note that there is a space after ,
  • last_ampersand: Bool default true. For some services if there is no Token Secret then no need & at the end. Check oauth doc for more information

oauth_signature is set to the concatenated encoded values of the Consumer Secret and Token Secret, separated by a '&' character (ASCII code 38), even if either secret is empty

0.0.8

10 years ago
  • throw error instead of console.warn
  • no new keyword support
var oauth = Oauth();

or

var oauth = new Oauth();

still works well

0.0.7

10 years ago
  • fix #4

v0.0.3

10 years ago
  • .authorizer change to .authorize

v0.0.6

10 years ago
  • .deParam split into 2 functions: .deParam and .deParamUrl
  • If there is no token to authorize just use .authorize(request_data) instead of .authorize(request_data, {})