function init($object) { parent::init($object); $this->lti = UoN_LTI::get_instance(); $this->lti->init_lti0($this->db); $this->savetodebug('Starting LTI'); $this->lti->init_lti(); if (!isset($this->lti_i)) { $this->lti_i = lti_integration::load(); } }
function init($object) { parent::init($object); /* // uncomment this section if forcing CAS authentication phpCAS::client($this->server_version, $this->server_hostname, $this->server_port, $this->server_uri); phpCAS::forceAuthentication(); // this will automatically redirect to the named CAS server login page if not logged in OR allow users through if logged in if (isset($_REQUEST['logout'])) { phpCAS::logout(); } // if not forcing CAS authentication, do nothing */ }
function init($object) { parent::init($object); $this->cosign = new cosign($this->settings['cosign_cfg'], $this); }