gombot/client
Zachary Carter 41657124dc WIP persistence layer and stage account api 2012-11-13 09:44:11 -08:00
..
README.md update signing algorithm to follow draft-ietf-oauth-v2-http-mac-01. the shoe fits 2012-11-06 09:07:42 -07:00
client.js WIP persistence layer and stage account api 2012-11-13 09:44:11 -08:00
crypto.js cosmetic: remove trailing whitespace 2012-11-06 10:56:58 -07:00
sjcl.js sjcl unminified sources as well as crypto.js - to become a dual client/server side wrapper around sjcl which exposes specific higher level constructs used in gombot 2012-11-05 20:21:41 -07:00
urlparse.js update signing algorithm to follow draft-ietf-oauth-v2-http-mac-01. the shoe fits 2012-11-06 09:07:42 -07:00

README.md

Here lives javascript code designed to run on the client. This includes:

  • urlparse.js a pure-javascript url parsing library
  • sjcl.js - the awesome Stanford Javascript Crypto Library
  • crypto.js - a small Gombot specific wrapper around SJCL that holds constants used in the product and exposes a small, focused high level API. Designed to be run on both the client and server.
  • client.js - a small networking library that abstracts clients from protocol details. used on both client and server.

Usage

Read the source for the API, have a look at ../tests/* which are the primary clients of these libraries in this tree. Then:

  1. cat urlparse.js sjcl.js crypto.js client.js > client_lib.js
  2. include that in your addon
  3. call its api to do stuff