oauth-procs.tcl

XOTcl OAuth Library for OpenACS This library strives to provide a comprehensive implementation of the OAuth 1.0a protocol (RFC 5849) for OpenACS. Currently, it supports signed requests using HMAC-SHA1.

Location:
packages/xooauth/tcl/oauth-procs.tcl
Created:
2012-01 This work has been partly influenced by: * Guan Yang - guan@unicast.org * https://github.com/horgh/twitter-tcl Translation to XOTcl2: Gustaf Neumann
Author:
Michael Aram

Procedures in this file

Detailed information

xo::oauth::nonce (public)

 xo::oauth::nonce
Returns:
a nonce for the current request.

Partial Call Graph (max 5 caller/called nodes):
%3 packages/xooauth/www/admin/lti-test.tcl packages/xooauth/ www/admin/lti-test.tcl xo::oauth::nonce xo::oauth::nonce packages/xooauth/www/admin/lti-test.tcl->xo::oauth::nonce ad_generate_random_string ad_generate_random_string (public) xo::oauth::nonce->ad_generate_random_string

Testcases:
No testcase defined.

xo::oauth::timestamp (public)

 xo::oauth::timestamp
Returns:
the current epoch timestamp in seconds

Partial Call Graph (max 5 caller/called nodes):
%3 packages/xooauth/www/admin/lti-test.tcl packages/xooauth/ www/admin/lti-test.tcl xo::oauth::timestamp xo::oauth::timestamp packages/xooauth/www/admin/lti-test.tcl->xo::oauth::timestamp

Testcases:
No testcase defined.
[ show source ]