MDL-68384 mod_lti: fix spec violations bo claim name and dl value type

This commit is contained in:
Claude Vervoort 2020-08-18 09:40:18 -04:00
parent 5486b031ee
commit 7263f2855d
3 changed files with 34 additions and 21 deletions

View file

@ -447,7 +447,7 @@ class memberships extends \mod_lti\local\ltiservice\service_base {
$serviceurl = lti_ensure_url_is_https($serviceurl);
}
$basicoutcome->lis_outcome_service_url = $serviceurl;
$message->{'https://purl.imsglobal.org/spec/lti-bos/claim/basicoutcomesservice'} = $basicoutcome;
$message->{'https://purl.imsglobal.org/spec/lti-bo/claim/basicoutcome'} = $basicoutcome;
}
$member->message = [$message];
}