Property | Type | Description | |
---|---|---|---|
$_db | Horde_Db_Adapter | Handle for the current database connection. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) |
Method | Description | |
---|---|---|
_changePassword ( $user, $oldpass, $newpass ) | ||
_lookup ( $user, string $oldpass ) | Finds out if a username and password is valid. | |
_modify ( string $user, string $newpass ) | Modifies a SQL password record for a user. | |
_parseQuery ( string $string, string $user, string $password ) : string | Parses the string as an SQL query substituting placeholders for their values. |
public __construct ( array $params = [] ) | ||
$params | array | Driver parameters: - db: (Horde_Db_Adapter; REQUIRED) A DB Adapter object. - encryption: (string) The encryption type. - pass_col: (string) The table column for password. - query_lookup: (string) Should we use a custom query for lookup? - query_modify: (string) Should we use a custom query for changing? - show_encryption: (boolean) Prepend the encryption type to the password? - table: (string) The name of the user database table. - user_col: (string) The table column for user name. |