managesPasswordAttributes()
passwordChangeRequested()
supportsForcePasswordChange()
This interface needs to be implemented by all account modules which manage passwords.
It allows LAM to provide central password changes.
package | modules |
---|
managesPasswordAttributes() : boolean
The module alias will
then appear as option in the GUI.
If the module only wants to get notified about password changes then return false.
boolean
true if this module manages password attributespasswordChangeRequested(String $password, array $modules, boolean $forcePasswordChange) : array
Account modules must change their password attributes only if the modules list contains their module name.
String
new password
array
list of modules for which the password should be changed
boolean
force the user to change his password at next login
array
list of error messages if any as parameter array for StatusMessage e.g. return arrray(array('ERROR', 'Password change failed.'))supportsForcePasswordChange() : boolean
boolean
force password change supported