ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAuthFrontendCredentialsOpenIdConnect Class Reference
+ Inheritance diagram for ilAuthFrontendCredentialsOpenIdConnect:
+ Collaboration diagram for ilAuthFrontendCredentialsOpenIdConnect:

Public Member Functions

 __construct ()
 
 getRedirectionTarget ()
 
 initFromRequest ()
 
- Public Member Functions inherited from ilAuthFrontendCredentials
 __construct ()
 
 setUsername (string $a_name)
 
 getUsername ()
 
 setPassword (string $a_password)
 
 getPassword ()
 
 setAuthMode (string $a_auth_mode)
 
 getAuthMode ()
 
 setUsername (string $a_name)
 
 getUsername ()
 
 setPassword (string $a_password)
 
 getPassword ()
 
 setAuthMode (string $a_auth_mode)
 
 getAuthMode ()
 

Protected Member Functions

 getSettings ()
 
 parseRedirectionTarget ()
 

Private Attributes

const SESSION_TARGET = 'oidc_target'
 
const QUERY_PARAM_TARGET = 'target'
 
readonly ilOpenIdConnectSettings $settings
 
string $target = null
 

Additional Inherited Members

- Protected Attributes inherited from ilAuthFrontendCredentials
ilLogger $logger
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAuthFrontendCredentialsOpenIdConnect::__construct ( )

Reimplemented from ilAuthFrontendCredentials.

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

30 {
31 global $DIC;
32
34
36 $httpquery = $DIC->http()->wrapper()->query();
37 if ($httpquery->has(self::QUERY_PARAM_TARGET)) {
38 $this->target = $httpquery->retrieve(self::QUERY_PARAM_TARGET, $DIC->refinery()->to()->string());
39 }
40 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

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

+ Here is the call graph for this function:

Member Function Documentation

◆ getRedirectionTarget()

ilAuthFrontendCredentialsOpenIdConnect::getRedirectionTarget ( )

◆ getSettings()

ilAuthFrontendCredentialsOpenIdConnect::getSettings ( )
protected

◆ initFromRequest()

ilAuthFrontendCredentialsOpenIdConnect::initFromRequest ( )

◆ parseRedirectionTarget()

ilAuthFrontendCredentialsOpenIdConnect::parseRedirectionTarget ( )
protected

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

60 : void
61 {
62 if ($this->target) {
63 ilSession::set(self::SESSION_TARGET, $this->target);
64 } elseif (ilSession::get(self::SESSION_TARGET)) {
65 $this->target = ilSession::get(self::SESSION_TARGET);
66 }
67 }
static get(string $a_var)
static set(string $a_var, $a_val)
Set a value.

References 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

readonly ilOpenIdConnectSettings ilAuthFrontendCredentialsOpenIdConnect::$settings
private

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

Referenced by getSettings().

◆ $target

string ilAuthFrontendCredentialsOpenIdConnect::$target = null
private

◆ QUERY_PARAM_TARGET

const ilAuthFrontendCredentialsOpenIdConnect::QUERY_PARAM_TARGET = 'target'
private

◆ SESSION_TARGET

const ilAuthFrontendCredentialsOpenIdConnect::SESSION_TARGET = 'oidc_target'
private

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