Skip to content

0.1.0

Choose a tag to compare

@ddo ddo released this 30 Apr 12:06
· 65 commits to master since this release

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