• Publicity: Public Only All

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 Class ::ms::Authorize Class ::ms::Authorize (public) xo::oauth::nonce xo::oauth::nonce Class ::ms::Authorize->xo::oauth::nonce Class ::xo::Authorize Class ::xo::Authorize (public) Class ::xo::Authorize->xo::oauth::nonce Class ::xo::lti::LTI Class ::xo::lti::LTI (public) Class ::xo::lti::LTI->xo::oauth::nonce ms::Authorize instproc login_url ms::Authorize instproc login_url (public) ms::Authorize instproc login_url->xo::oauth::nonce packages/xooauth/www/admin/lti-test.tcl packages/xooauth/ www/admin/lti-test.tcl 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 Class ::xo::lti::LTI Class ::xo::lti::LTI (public) xo::oauth::timestamp xo::oauth::timestamp Class ::xo::lti::LTI->xo::oauth::timestamp packages/xooauth/www/admin/lti-test.tcl packages/xooauth/ www/admin/lti-test.tcl packages/xooauth/www/admin/lti-test.tcl->xo::oauth::timestamp xo::lti::LTI instproc form_render xo::lti::LTI instproc form_render (public) xo::lti::LTI instproc form_render->xo::oauth::timestamp

Testcases:
No testcase defined.
[ show source ]