[LON-CAPA-cvs] cvs: loncom /lti ltiutils.pm
raeburn
raeburn at source.lon-capa.org
Sun Mar 31 14:48:33 EDT 2019
raeburn Sun Mar 31 18:48:33 2019 EDT
Modified files:
/loncom/lti ltiutils.pm
Log:
- Bug 6754 LON-CAPA as LTI Provider
- Support LTI Basic Outcomes Service (1.1) in which grade (a decimal) is
included in XML in the request body (with oauth_body_hash in the header).
Index: loncom/lti/ltiutils.pm
diff -u loncom/lti/ltiutils.pm:1.15 loncom/lti/ltiutils.pm:1.16
--- loncom/lti/ltiutils.pm:1.15 Tue Aug 14 21:42:36 2018
+++ loncom/lti/ltiutils.pm Sun Mar 31 18:48:33 2019
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA LTI interactions
#
-# $Id: ltiutils.pm,v 1.15 2018/08/14 21:42:36 raeburn Exp $
+# $Id: ltiutils.pm,v 1.16 2019/03/31 18:48:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -790,6 +790,7 @@
nonce => $nonce,
body_hash => $bodyhash,
);
+ $gradereq->add_required_message_params('body_hash');
$gradereq->sign();
$request = HTTP::Request->new(
$gradereq->request_method,
More information about the LON-CAPA-cvs
mailing list