lti-procs.tcl

LTI procs - Basic interface classes for integrating LTI based tools

This file defines the following Objects and Classes: ::xo::lti::LTI[i], ::xo::lti::LTI[i], ::xo::lti::LTI[i]

Location:
packages/xooauth/tcl/lti-procs.tcl
Authors:
Guenter Ernst
Gustaf Neumann
Michael Aram

Procedures in this file

Detailed information

Class ::xo::lti::LTI (public)

 ::nx::Class ::xo::lti::LTI[i]

Common Parameter

Testcases:
No testcase defined.

xo::lti::LTI method form_render (public)

 <instance of xo::lti::LTI[i]> form_render [ -height height ] \
    [ -sandbox sandbox ] [ -style style ] \
    [ -auto_launch_p auto_launch_p ]

Set per-call parameters

Switches:
-height (optional, defaults to "700")
-sandbox (optional)
-style (optional, defaults to "min-width:100%;width:100%;min-height:100%;")
-auto_launch_p (optional, defaults to "0")

Testcases:
No testcase defined.

xo::lti::LTI method get_context (protected)

 <instance of xo::lti::LTI[i]> get_context

Testcases:
No testcase defined.

xo::lti::LTI method get_params_from_section (protected)

 <instance of xo::lti::LTI[i]> get_params_from_section \
    [ -extra extra ] section

Try to get every parameter from the specified config section

Switches:
-extra (optional, defaults to "shared_secret")
Parameters:
section (required)

Testcases:
No testcase defined.

xo::lti::LTI method init (protected)

 <instance of xo::lti::LTI[i]> init

Parameter precedence: 1) configure parameters when lti handler is created 2) configure file section /lti/$provider 3) from configure file section /lti Iterate over class hierarchy until xo::lti::LTI is reached and set parameters.

Testcases:
No testcase defined.
[ show source ]