ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilAuthFrontendCredentialsLTI Class Reference

Auth credentials for lti oauth based authentication. More...

+ Inheritance diagram for ilAuthFrontendCredentialsLTI:
+ Collaboration diagram for ilAuthFrontendCredentialsLTI:

Public Member Functions

 __construct ()
 
 initFromRequest ()
 Init credentials from request. More...
 
- Public Member Functions inherited from ilAuthFrontendCredentials
 __construct ()
 
 getLogger ()
 Get logger. More...
 
 setLogger (ilLogger $logger)
 Set Logger. More...
 
 setUsername ($a_name)
 Set username. More...
 
 getUsername ()
 Get username. More...
 
 setPassword ($a_password)
 Set password. More...
 
 getPassword ()
 Get password. More...
 
 setCaptchaCode ($a_code)
 Set captcha code. More...
 
 getCaptchaCode ()
 Get captcha code. More...
 
 setAuthMode ($a_auth_mode)
 Set auth mode. More...
 
 getAuthMode ()
 Get auth mode. More...
 

Detailed Description

Auth credentials for lti oauth based authentication.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 15 of file class.ilAuthFrontendCredentialsLTI.php.

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentialsLTI::__construct ( )

Definition at line 17 of file class.ilAuthFrontendCredentialsLTI.php.

References $GLOBALS, and ilAuthFrontendCredentials\setLogger().

18  {
19  parent::__construct();
20  // overwrite default lti logger
21  $this->setLogger($GLOBALS['DIC']->logger()->lti());
22  }
setLogger(ilLogger $logger)
Set Logger.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.
+ Here is the call graph for this function:

Member Function Documentation

◆ initFromRequest()

ilAuthFrontendCredentialsLTI::initFromRequest ( )

Init credentials from request.

Definition at line 29 of file class.ilAuthFrontendCredentialsLTI.php.

References $_POST, ilLogLevel\DEBUG, ilAuthFrontendCredentials\getLogger(), and ilAuthFrontendCredentials\setUsername().

30  {
31  $this->getLogger()->debug('New lti authentication request...');
32  $this->getLogger()->dump($_REQUEST, ilLogLevel::DEBUG);
33 
34  $this->setUsername($_POST['user_id']);
35  }
$_POST["username"]
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: