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 LDAP attributesΒΆ

This hook lets you post-process the attributes fetched from LDAP.

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\AttributesProcessorInterface interface. This implies implementing a method called processAttributes which will receive the following arguments:

Current LDAP link identifier, returned by ldap_connect().
Identifier of an LDAP entry in a search result.
Array of LDAP attributes.