Authentication Hook
The authentication hook allows checking for a username and password pair in an external system, for example, LDAP. To do this, you need to extend the class pm_Hook_Auth. The class must be located in the directory plib/hooks/.
The following is an example of such a hook:
The method must return a boolean value. If a username and password pair is valid, it should return true
.
You can control the operation of the extension during run-time by implementing the method isEnabled.