bytespider/jsOAuth — Issue #23: Signed requests via jQuery.ajax for both Spine and Backbone
Author: bytespider
Created: 2011-10-24 10:25:03+00:00
State: open

Move all signing code to an XHR compatible API with which jQuery.ajax can use.

myOAuth = new OAuth({
/* ... */
});
$.ajaxSettings.xhr = function () {
return myOAuth.signedConnection;
};