ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilAuthFrontendCredentialsLTI.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
5 
6 include_once './Services/Authentication/classes/Frontend/class.ilAuthFrontendCredentials.php';
7 include_once './Services/Authentication/interfaces/interface.ilAuthCredentials.php';
8 
16 {
17  public function __construct()
18  {
19  parent::__construct();
20  // overwrite default lti logger
21  $this->setLogger($GLOBALS['DIC']->logger()->lti());
22  }
23 
24 
25 
29  public function initFromRequest()
30  {
31  $this->getLogger()->debug('New lti authentication request...');
32  $this->getLogger()->dump($_REQUEST, ilLogLevel::DEBUG);
33 
34  $this->setUsername($_POST['user_id']);
35  }
36 }
setLogger(ilLogger $logger)
Set Logger.
Interface of auth credentials.
Auth credentials for lti oauth based authentication.
initFromRequest()
Init credentials from request.
$_POST["username"]
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.