public static function getCoreLaunchData()
    {
        global $CFG, $CONTEXT, $USER, $CONTEXT, $LINK;
        $ltiProps = array();
        $ltiProps[LTIConstants::LTI_VERSION] = LTIConstants::LTI_VERSION_1;
        $ltiProps[LTIConstants::CONTEXT_ID] = $CONTEXT->id;
        $ltiProps[LTIConstants::ROLES] = $USER->instructor ? LTIConstants::ROLE_INSTRUCTOR : LTIConstants::ROLE_LEARNER;
        $ltiProps[LTIConstants::USER_ID] = $USER->id;
        $ltiProps[LTIConstants::LIS_PERSON_NAME_FULL] = $USER->displayname;
        $ltiProps[LTIConstants::LIS_PERSON_CONTACT_EMAIL_PRIMARY] = $USER->email;

        $ltiProps['tool_consumer_instance_guid'] = $CFG->product_instance_guid;
        $ltiProps['tool_consumer_instance_description'] = $CFG->servicename;

        return $ltiProps;
    }