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

Class ilOpenIdConnectSettingsGUI. More...

+ Inheritance diagram for ilAuthFrontendCredentialsOpenIdConnect:
+ Collaboration diagram for ilAuthFrontendCredentialsOpenIdConnect:

Public Member Functions

 __construct ()
 Constructor. More...
 
 getRedirectionTarget ()
 
 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...
 

Data Fields

const SESSION_TARGET = 'oidc_target'
 

Protected Member Functions

 getSettings ()
 
 parseRedirectionTarget ()
 

Private Attributes

 $settings = null
 
 $target = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentialsOpenIdConnect::__construct ( )

Constructor.

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

References ilOpenIdConnectSettings\getInstance(), and settings().

30  {
31  parent::__construct();
32 
34  }
settings()
Definition: settings.php:2
static getInstance()
Get singleton instance.
+ Here is the call graph for this function:

Member Function Documentation

◆ getRedirectionTarget()

ilAuthFrontendCredentialsOpenIdConnect::getRedirectionTarget ( )

◆ getSettings()

ilAuthFrontendCredentialsOpenIdConnect::getSettings ( )
protected

◆ initFromRequest()

ilAuthFrontendCredentialsOpenIdConnect::initFromRequest ( )

Init credentials from request.

Definition at line 56 of file class.ilAuthFrontendCredentialsOpenIdConnect.php.

References parseRedirectionTarget(), ilAuthFrontendCredentials\setPassword(), and ilAuthFrontendCredentials\setUsername().

57  {
58  $this->setUsername('');
59  $this->setPassword('');
60 
61  $this->parseRedirectionTarget();
62  }
setPassword($a_password)
Set password.
+ Here is the call graph for this function:

◆ parseRedirectionTarget()

ilAuthFrontendCredentialsOpenIdConnect::parseRedirectionTarget ( )
protected

Definition at line 67 of file class.ilAuthFrontendCredentialsOpenIdConnect.php.

References $_GET, $DIC, ilAuthFrontendCredentials\$logger, ilSession\get(), and ilSession\set().

Referenced by initFromRequest().

68  {
69  global $DIC;
70 
71  $logger = $DIC->logger()->auth();
72  if (!empty($_GET['target'])) {
73  $this->target = $_GET['target'];
74  \ilSession::set(self::SESSION_TARGET, $this->target);
75  } elseif (ilSession::get(self::SESSION_TARGET)) {
76  $this->target = \ilSession::get(self::SESSION_TARGET);
77  }
78  }
global $DIC
Definition: saml.php:7
$_GET["client_id"]
static get($a_var)
Get a value.
static set($a_var, $a_val)
Set a value.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $settings

ilAuthFrontendCredentialsOpenIdConnect::$settings = null
private

Definition at line 18 of file class.ilAuthFrontendCredentialsOpenIdConnect.php.

Referenced by getSettings().

◆ $target

ilAuthFrontendCredentialsOpenIdConnect::$target = null
private

◆ SESSION_TARGET

const ilAuthFrontendCredentialsOpenIdConnect::SESSION_TARGET = 'oidc_target'

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