public
Description: An Erlang OAuth implementation
Homepage:
Clone URL: git://github.com/tim/erlang-oauth.git
Roberto Aloi (author)
Thu Jun 04 02:17:53 -0700 2009
Tim Fletcher (committer)
Thu Jun 04 14:23:42 -0700 2009
name age message
file Emakefile Thu Oct 23 11:39:23 -0700 2008 Use correct capitalization for Emakefile. [tim]
file License.txt Tue Jan 13 06:20:10 -0800 2009 Update copyright date. [tim]
file Makefile Tue Jan 13 06:14:31 -0800 2009 Simplify the Makefile. [tim]
file README.txt Loading commit data...
directory src/
README.txt
An Erlang OAuth implementation.

Quick start (client usage):

  $ make
  ...
  $ erl -pa ebin -s crypto -s inets
  ...
  1> Consumer = {"key", "secret", hmac_sha1}.
  ...
  2> RequestTokenURL = "http://term.ie/oauth/example/request_token.php".
  ...
  3> {ok, ResponseR} = oauth:get(RequestTokenURL, [], Consumer, "", "").
  ...
  4> ParamsR = oauth_http:response_params(ResponseR).
  ...
  5> TokenR = oauth:token(ParamsR).
  ...
  6> TokenSecretR = oauth:token_secret(ParamsR).
  ...
  7> AccessTokenURL = "http://term.ie/oauth/example/access_token.php".
  ...
  8> {ok, ResponseA} = oauth:get(AccessTokenURL, [], Consumer, TokenR, TokenSecretR).
  ...


Example client/server code: http://github.com/tim/erlang-oauth-examples.

Unit tests: http://github.com/tim/erlang-oauth-tests.

Erlang R12B-5 required for RSA-SHA1.