Monday, November 08, 2010 at 12:01 AM.

system.verbs.apps.OAuth.testing.testsignature

local (params);
new (tabletype, @params);
params.oauth_version = "1.0";
params.oauth_nonce = "Aa4eP1wS99T";
params.oauth_timestamp = "1234634770";
params.oauth_consumer_key = "abcd";
params.oauth_signature_method = "HMAC-SHA1";
params.oauth_token = "ijkl";
params.name1 = "value";
params.name2 = "value";
local (url = "http://host.net/resource");
local (consumerSecret = "efgh");
local (tokenSecret = "mnop");
local (method = "GET");

OAuth.testing.sig = OAuth.getSignature (@params, url, consumerSecret, tokenSecret, method)



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.