OAuth WRAP is a simpler, revised version of the oauth protocol. This project demonstrates how to use the protocol in a Javascript context.
This library demonstrates how to use the experimental JavaScript profile for OAuth WRAP. The code for OAuth WRAP authorization is contained entirely in the WRAP.authorize function. It relies on the cross-domain communication library provided by the Facebook Connect JavaScript library.
The core pieces of the library are mostly tested using QUnit. To run the tests, simply load ./tests/index.html.