Commit graph

13 commits

Author SHA1 Message Date
Mike Emery
c775850614 making signed attributes public so that it can be used with 3rd party http request libraries to use oauth through query string 2010-11-15 08:11:11 -08:00
laserlemon
23def39599 Bump version. 2010-10-13 10:09:12 -04:00
laserlemon
126b807e2d Rearranged method definitions. 2010-10-13 09:37:22 -04:00
laserlemon
b413083e43 Implement proper RSA-SHA1 signing.
Need to find an OAuth service provider supporting the RSA-SHA1 signature method for verification.
2010-10-13 09:25:11 -04:00
laserlemon
cc7510f6a5 Updated parameter and attribute sorting during normalization to behave consistently across Ruby versions 1.8.7 and 1.9.2. 2010-10-13 08:18:19 -04:00
laserlemon
090f1de829 Header parsing and validation tests pass.
Private key behaves when nil and signature is never included in normalized parameters.
2010-10-11 23:54:37 -04:00
laserlemon
f61e2750dc Add the ability to parse string OAuth headers into SimpleOAuth::Header options and to validate those headers against consumer and token secrets. 2010-10-11 23:52:56 -04:00
laserlemon
1f519dd45a Add the SimpleOAuth::Version module. 2010-10-11 22:14:36 -04:00
laserlemon
c8790cf98e Test HMAC-SHA1 signature generation against real-world, accepted signatures.
Also, stop memoizing the to_s and url instance methods.
2010-10-11 17:36:20 -04:00
laserlemon
bd1153df5d Pass query parameter tests, changing the url_params method to return an array. 2010-10-11 15:52:24 -04:00
laserlemon
501f7d8cde Properly normalize the parsed URI upon header initialization. 2010-10-11 14:49:58 -04:00
laserlemon
902fa3ed8c Add initial OAuth header generation functionality. 2010-10-11 13:52:58 -04:00
laserlemon
a603697fa8 Initial import. 2010-10-11 13:45:52 -04:00