Kong / mashape-oauth

OAuth Modules for Node.js - Supporting RSA, HMAC, PLAINTEXT, 2,3-Legged, 1.0a, Echo, XAuth, and 2.0
http://oauthbible.com
MIT License
1.77k stars 186 forks source link

Added 1.0 as default version, reflecting the documentation. #25

Closed conradoplg closed 8 years ago

conradoplg commented 8 years ago

The documentation states that the "version" argument is optional, and that "1.0" is the default. However, the library passes an emptry string as the version if it is not specified. This changed the default to "1.0".