ILIAS  release_7 Revision v7.30-3-g800a261c036
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...
 
 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.

Reimplemented from ilAuthFrontendCredentials.

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

30 {
32
34 }
static getInstance()
Get singleton instance.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
settings()
Definition: settings.php:2

References ILIAS\GlobalScreen\Provider\__construct(), ilOpenIdConnectSettings\getInstance(), and settings().

+ 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().

+ Here is the call graph for this function:

◆ parseRedirectionTarget()

ilAuthFrontendCredentialsOpenIdConnect::parseRedirectionTarget ( )
protected

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

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 }
$_GET["client_id"]
static set($a_var, $a_val)
Set a value.
static get($a_var)
Get a value.
global $DIC
Definition: goto.php:24

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

Referenced by initFromRequest().

+ 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: