Skip to content

Releases: ddo/oauth-1.0a

v1.0.1

28 Oct 07:44
@ddo ddo
Compare
Choose a tag to compare

v1.0.0

23 Sep 16:02
@ddo ddo
Compare
Choose a tag to compare
  • #18
  • follow semver

0.2.1

02 Apr 16:02
@ddo ddo
Compare
Choose a tag to compare
  • add HMAC-SHA256

0.1.1

29 May 19:09
@ddo ddo
Compare
Choose a tag to compare

0.1.0

30 Apr 12:06
@ddo ddo
Compare
Choose a tag to compare

##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

23 Apr 10:51
@ddo ddo
Compare
Choose a tag to compare
  • throw error instead of console.warn
  • no new keyword support
var oauth = Oauth();

or

var oauth = new Oauth();

still works well

0.0.7

22 Apr 20:03
@ddo ddo
Compare
Choose a tag to compare

v0.0.6

23 Jan 12:35
@ddo ddo
Compare
Choose a tag to compare
  • .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, {})

v0.0.3

23 Jan 12:48
@ddo ddo
Compare
Choose a tag to compare
  • .authorizer change to .authorize