Skip to content

Commit

Permalink
revise option notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddo committed Apr 30, 2014
1 parent 4bbb287 commit 74ff754
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ var oauth = OAuth(/* options */);
}
```

* ``signature_method``: ``String`` default ``HMAC-SHA1``
* ``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 ','
* ``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](http://oauth.net/core/1.0a/#anchor22) 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
Expand Down

0 comments on commit 74ff754

Please sign in to comment.