ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilOpenIdConnectAppEventListener Class Reference
+ Inheritance diagram for ilOpenIdConnectAppEventListener:
+ Collaboration diagram for ilOpenIdConnectAppEventListener:

Static Public Member Functions

static handleEvent (string $a_component, string $a_event, array $a_parameter)
 Handle an event in a listener. More...
 

Protected Member Functions

 handleLogoutFor (int $user_id)
 

Detailed Description

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

Member Function Documentation

◆ handleEvent()

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

Handle an event in a listener.

Parameters
string$a_componentcomponent, e.g. "components/ILIAS/Forum" or "components/ILIAS/User"
string$a_eventevent e.g. "createUser", "updateUser", "deleteUser", ...
array<string,mixed>$a_parameter parameter array (assoc), array("name" => ..., "phone_office" => ...)

Implements ilAppEventListener.

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

References $DIC.

29  : void
30  {
31  global $DIC;
32 
33  $DIC->logger()->auth()->debug($a_component . ' : ' . $a_event);
34 
35  if (($a_component === 'components/ILIAS/Authentication') && $a_event === 'beforeLogout') {
36  $listener = new self();
37  $listener->handleLogoutFor($a_parameter['user_id']);
38  }
39  }
global $DIC
Definition: shib_login.php:22

◆ handleLogoutFor()

ilOpenIdConnectAppEventListener::handleLogoutFor ( int  $user_id)
protected

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