cl-oauth:cl-oauth.git
7 years agoAdded Twitter example.
Leslie P. Polzer [Sun, 7 Feb 2010 14:22:26 +0000 (15:22 +0100)]
Added Twitter example.

7 years agoLots of fixes and cleanups in Consumer and util code.
Leslie P. Polzer [Sun, 7 Feb 2010 10:50:34 +0000 (11:50 +0100)]
Lots of fixes and cleanups in Consumer and util code.

7 years agoAdded Google consumer demo (close to completion).
Leslie P. Polzer [Sat, 6 Feb 2010 16:57:37 +0000 (17:57 +0100)]
Added Google consumer demo (close to completion).

7 years agoConsumer: preparations for Authorization header support.
Leslie P. Polzer [Sat, 6 Feb 2010 16:57:18 +0000 (17:57 +0100)]
Consumer: preparations for Authorization header support.

7 years agoConsumer: access-protected-resource now also supports passing a timestamp.
Leslie P. Polzer [Sat, 6 Feb 2010 16:57:03 +0000 (17:57 +0100)]
Consumer: access-protected-resource now also supports passing a timestamp.

7 years agoRemoved debugging cruft.
Leslie P. Polzer [Sat, 6 Feb 2010 16:56:45 +0000 (17:56 +0100)]
Removed debugging cruft.

7 years agoConsumer: obtain-access-token: don't forget the request token secret.
Leslie P. Polzer [Sat, 6 Feb 2010 16:18:07 +0000 (17:18 +0100)]
Consumer: obtain-access-token: don't forget the request token secret.

7 years agoConsumer: obtain-access-token: url-decode where needed.
Leslie P. Polzer [Sat, 6 Feb 2010 16:17:44 +0000 (17:17 +0100)]
Consumer: obtain-access-token: url-decode where needed.

TODO:

  * always save the decoded representation of the request token key and all other data.
  * remove Hunchentoot dependency

7 years agoConsumer: obtain-access-token: support custom timestamps.
Leslie P. Polzer [Sat, 6 Feb 2010 16:16:23 +0000 (17:16 +0100)]
Consumer: obtain-access-token: support custom timestamps.

7 years agoConsumer: handle oauth_verifier.
Leslie P. Polzer [Sat, 6 Feb 2010 16:15:30 +0000 (17:15 +0100)]
Consumer: handle oauth_verifier.

7 years agoMisc. important fixes and amendments.
Leslie P. Polzer [Sat, 6 Feb 2010 13:12:01 +0000 (14:12 +0100)]
Misc. important fixes and amendments.

7 years agoFixed a bug in HMAC-SHA1 secret construction.
Leslie P. Polzer [Fri, 5 Feb 2010 18:55:31 +0000 (19:55 +0100)]
Fixed a bug in HMAC-SHA1 secret construction.

7 years agoConsumer: more flexibility for timestamps.
Leslie P. Polzer [Fri, 5 Feb 2010 17:32:47 +0000 (18:32 +0100)]
Consumer: more flexibility for timestamps.

7 years agoMerge branch 'master' of github.com:skypher/cl-oauth
Leslie P. Polzer [Fri, 5 Feb 2010 13:04:45 +0000 (14:04 +0100)]
Merge branch 'master' of github.com:skypher/cl-oauth

7 years agoFixed request token auth, some amendments.
Leslie P. Polzer [Fri, 5 Feb 2010 13:03:56 +0000 (14:03 +0100)]
Fixed request token auth, some amendments.

8 years agoRevised consumer code. There was a problem with the way drakma encodes URIs.
Red Daly [Thu, 15 Oct 2009 21:25:57 +0000 (05:25 +0800)]
Revised consumer code.  There was a problem with the way drakma encodes URIs.

Drakma encoded spaces to plus signs and had a few other deficiencies.
So now we computer our own escaped parameters so that we can
internally guarantee a correct signature.

8 years agoAdded extra argument to a url encoding utility function.
Red Daly [Thu, 15 Oct 2009 21:23:57 +0000 (05:23 +0800)]
Added extra argument to a url encoding utility function.

8 years agoRevised consumer code. There was a problem with the way drakma encodes URIs.
Red Daly [Thu, 15 Oct 2009 21:25:57 +0000 (14:25 -0700)]
Revised consumer code.  There was a problem with the way drakma encodes URIs.

Drakma encoded spaces to plus signs and had a few other deficiencies.
So now we computer our own escaped parameters so that we can
internally guarantee a correct signature.

8 years agoAdded extra argument to a url encoding utility function.
Red Daly [Thu, 15 Oct 2009 21:23:57 +0000 (14:23 -0700)]
Added extra argument to a url encoding utility function.

8 years agoImproved functions in consumer.lisp and exported relevant consumer symbols.
Red Daly [Sat, 3 Oct 2009 18:51:50 +0000 (02:51 +0800)]
Improved functions in consumer.lisp and exported relevant consumer symbols.

8 years agoMinor bug in consumer code for construction request tokens after response is received.
Red Daly [Sat, 3 Oct 2009 07:28:07 +0000 (15:28 +0800)]
Minor bug in consumer code for construction request tokens after response is received.

8 years agoImproved functions in consumer.lisp and exported relevant consumer symbols.
Red Daly [Sat, 3 Oct 2009 18:51:50 +0000 (11:51 -0700)]
Improved functions in consumer.lisp and exported relevant consumer symbols.

8 years agoMinor bug in consumer code for construction request tokens after response is received.
Red Daly [Sat, 3 Oct 2009 07:28:07 +0000 (00:28 -0700)]
Minor bug in consumer code for construction request tokens after response is received.

8 years agoFixed git config.
Leslie P. Polzer [Sun, 16 Aug 2009 10:42:08 +0000 (12:42 +0200)]
Fixed git config.

8 years agoAdded dev/ tools.
Leslie P. Polzer [Sun, 16 Aug 2009 10:39:11 +0000 (12:39 +0200)]
Added dev/ tools.

8 years agoSupport application-specific data. Misc. fixes.
Leslie P. Polzer [Sun, 16 Aug 2009 10:35:37 +0000 (12:35 +0200)]
Support application-specific data. Misc. fixes.

8 years agoMore work on Consumer part...
Leslie P. Polzer [Wed, 5 Aug 2009 20:12:22 +0000 (22:12 +0200)]
More  work on Consumer part...

8 years agoConsumer: working OBTAIN-REQUEST-TOKEN.
Leslie P. Polzer [Mon, 3 Aug 2009 18:50:46 +0000 (20:50 +0200)]
Consumer: working OBTAIN-REQUEST-TOKEN.

8 years agoFixed tests.
Leslie P. Polzer [Mon, 3 Aug 2009 18:34:32 +0000 (20:34 +0200)]
Fixed tests.

8 years agoStarted work on Consumer API.
Leslie P. Polzer [Mon, 3 Aug 2009 18:34:23 +0000 (20:34 +0200)]
Started work on Consumer API.

8 years agoMisc. polishings and corrections.
Leslie P. Polzer [Thu, 30 Jul 2009 16:49:04 +0000 (18:49 +0200)]
Misc. polishings and corrections.

8 years agoExample: misc. updates, mostly for convenience.
Leslie P. Polzer [Thu, 30 Jul 2009 11:53:25 +0000 (13:53 +0200)]
Example: misc. updates, mostly for convenience.

8 years agoREQUEST-URI: return a PURI object (a string is still allowed, though); correctly...
Leslie P. Polzer [Thu, 30 Jul 2009 11:53:00 +0000 (13:53 +0200)]
REQUEST-URI: return a PURI object (a string is still allowed, though); correctly fetch scheme, host and port from Hunchentoot.

8 years agoMisc. small fixes, notes and additions.
Leslie P. Polzer [Thu, 30 Jul 2009 11:52:04 +0000 (13:52 +0200)]
Misc. small fixes, notes and additions.

8 years agoProper error generation.
Leslie P. Polzer [Thu, 30 Jul 2009 11:50:48 +0000 (13:50 +0200)]
Proper error generation.

8 years agoBasic test for validate-access-token.
Leslie P. Polzer [Mon, 27 Jul 2009 21:10:41 +0000 (23:10 +0200)]
Basic test for validate-access-token.

8 years agoFixed typo in UNREGISTER-TOKEN lambda list.
Leslie P. Polzer [Mon, 27 Jul 2009 21:10:23 +0000 (23:10 +0200)]
Fixed typo in UNREGISTER-TOKEN lambda list.

8 years agoFactored out CONSUMER-REF-MIXIN.
Leslie P. Polzer [Mon, 27 Jul 2009 21:09:46 +0000 (23:09 +0200)]
Factored out CONSUMER-REF-MIXIN.

8 years agoWork on validate-access-token-request.
Leslie P. Polzer [Mon, 27 Jul 2009 20:40:06 +0000 (22:40 +0200)]
Work on validate-access-token-request.

8 years agoTests for validate-request-token-request.
Leslie P. Polzer [Mon, 27 Jul 2009 19:48:00 +0000 (21:48 +0200)]
Tests for validate-request-token-request.

8 years agoFixed request token initargs.
Leslie P. Polzer [Mon, 27 Jul 2009 19:47:14 +0000 (21:47 +0200)]
Fixed request token initargs.

8 years agoFixed check-nonce-and-timestamp.
Leslie P. Polzer [Mon, 27 Jul 2009 19:46:56 +0000 (21:46 +0200)]
Fixed check-nonce-and-timestamp.

8 years agoTests: make WITH-SIGNED-REQUEST more flexible.
Leslie P. Polzer [Mon, 27 Jul 2009 13:19:08 +0000 (15:19 +0200)]
Tests: make WITH-SIGNED-REQUEST more flexible.

8 years agoHMAC-KEY, CHECK-SIGNATURE: support NIL as token secret.
Leslie P. Polzer [Mon, 27 Jul 2009 13:18:38 +0000 (15:18 +0200)]
HMAC-KEY, CHECK-SIGNATURE: support NIL as token secret.

8 years agoMore progress. Verified signature generation.
Leslie P. Polzer [Mon, 27 Jul 2009 12:41:28 +0000 (14:41 +0200)]
More progress. Verified signature generation.

8 years agoBunch of clean-ups. Time to get serious with tests and sample applications nears...
Leslie P. Polzer [Tue, 21 Jul 2009 11:31:04 +0000 (13:31 +0200)]
Bunch of clean-ups. Time to get serious with tests and sample applications nears...

8 years agoFixed a bunch of stuff.
Leslie P. Polzer [Sat, 18 Jul 2009 21:31:07 +0000 (23:31 +0200)]
Fixed a bunch of stuff.

8 years agoHack, hack, hack...
Leslie P. Polzer [Sat, 18 Jul 2009 20:31:35 +0000 (22:31 +0200)]
Hack, hack, hack...

* abstracted request handling
* redesigned parameter interface
* refactored and expanded token stuff
* added TRIVIAL-GARBAGE dependency for portable weak hash tables

Note: tests are not up to date in this commit.

8 years agoHacking the request token process (section 6).
Leslie P. Polzer [Thu, 16 Jul 2009 21:38:37 +0000 (23:38 +0200)]
Hacking the request token process (section 6).

8 years agoRenamed canonical package name to CL-OAUTH and added OAUTH as nickname.
Leslie P. Polzer [Thu, 16 Jul 2009 21:37:57 +0000 (23:37 +0200)]
Renamed canonical package name to CL-OAUTH and added OAUTH as nickname.

8 years agoWork in progresss...
Leslie P. Polzer [Thu, 16 Jul 2009 08:08:37 +0000 (10:08 +0200)]
Work in progresss...

8 years agoAdded README and LICENSE.
Leslie P. Polzer [Wed, 15 Jul 2009 11:39:22 +0000 (13:39 +0200)]
Added README and LICENSE.

8 years agoWe can generate a proper HMAC-SHA1 signature now.
Leslie P. Polzer [Wed, 15 Jul 2009 11:27:14 +0000 (13:27 +0200)]
We can generate a proper HMAC-SHA1 signature now.

8 years agoThis is now cl-oauth, a library dedicated to OAuth support in Common Lisp. Added...
Leslie P. Polzer [Wed, 15 Jul 2009 09:06:07 +0000 (11:06 +0200)]
This is now cl-oauth, a library dedicated to OAuth support in Common Lisp. Added test suite and implemented some more bits.

8 years agoRemoved old docs, renamed to 'doc'.
Leslie P. Polzer [Wed, 15 Jul 2009 09:04:06 +0000 (11:04 +0200)]
Removed old docs, renamed to 'doc'.

8 years agoInitial check-in; some docs.
Leslie P. Polzer [Thu, 9 Jul 2009 08:49:13 +0000 (10:49 +0200)]
Initial check-in; some docs.