Constructor
public __construct ( array $params = [] ) | ||
$params | array | Parameters:
'db' - (Horde_Db_Adapter) [REQUIRED] Database object.
'encryption' - (string) The encryption to use to store the password in the table (e.g. plain, crypt, md5-hex, md5-base64, smd5, sha, ssha, aprmd5). DEFAULT: 'md5-hex' 'hard_expiration_field' - (string) The name of the field containing a date after which the account is no longer valid and the user will not be able to log in at all. DEFAULT: none 'password_field' - (string) The name of the password field in the auth table. DEFAULT: 'user_pass' 'show_encryption' - (boolean) Whether or not to prepend the encryption in the password field. DEFAULT: false 'soft_expiration_field' - (string) The name of the field containing a date after which the system will request the user change his or her password. DEFAULT: none 'table' - (string) The name of the SQL table to use in 'database'. DEFAULT: 'horde_users' 'username_field' - (string) The name of the username field in the auth table. DEFAULT: 'user_uid' |