This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Post-processing the attached groups of a userΒΆ

This hook lets you post-process the typo3_groups that will be attached to a user.

In your extension (in the ext_localconf.php file), register the hook using a code like:

        = 'EXT:extension/Path/To/Class/ClassName.php:VendorName\\ClassName';

Your class has to implement the \Causal\IgLdapSsoAuth\Utility\GetGroupsProcessorInterface interface. This implies implementing a method called getUserGroups which will receive the following arguments:

The name of the db table for the groups (be_groups vs. fe_groups).
The full data from ldap of the currently processed user.
The array of the groups that have been calculated for this user. passed as reference so you can add/remove items from the list.