コード例 #1
0
 function fetchData($username, $password)
 {
     $GLOBALS['ilLog']->write('Fetch data');
     include_once './Services/Calendar/classes/class.ilCalendarAuthenticationToken.php';
     $this->current_user_id = ilCalendarAuthenticationToken::lookupUser($_GET['token']);
     return $this->current_user_id > 0;
 }
コード例 #2
0
 protected function initTokenHandler()
 {
     $this->token_handler = new ilCalendarAuthenticationToken(ilCalendarAuthenticationToken::lookupUser($_GET['token']), $_GET['token']);
     return true;
 }