ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilOpenIdConnectAppEventListener Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilOpenIdConnectAppEventListener:
+ Collaboration diagram for ilOpenIdConnectAppEventListener:

Static Public Member Functions

static handleEvent (string $a_component, string $a_event, array $a_parameter)
 

Protected Member Functions

 handleLogoutFor (int $user_id)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning event listener

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

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

Member Function Documentation

◆ handleEvent()

static ilOpenIdConnectAppEventListener::handleEvent ( string  $a_component,
string  $a_event,
array  $a_parameter 
)
static

Implements ilAppEventListener.

Definition at line 37 of file class.ilOpenIdConnectAppEventListener.php.

References $DIC.

37  : void
38  {
39  global $DIC;
40  $DIC->logger()->auth()->debug($a_component . ' : ' . $a_event);
41  if (($a_component === 'Services/Authentication') && $a_event === 'beforeLogout') {
42  $listener = new self();
43  $listener->handleLogoutFor($a_parameter['user_id']);
44  }
45  }
global $DIC
Definition: feed.php:28

◆ handleLogoutFor()

ilOpenIdConnectAppEventListener::handleLogoutFor ( int  $user_id)
protected

Definition at line 28 of file class.ilOpenIdConnectAppEventListener.php.

References $provider.

28  : void
29  {
31  $provider->handleLogout();
32  }
$provider
Definition: ltitoken.php:83
Class ilAuthProviderOpenIdConnect.

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