1<?php 2/** 3 * Default settings for the authpdo plugin 4 * 5 * @author Andreas Gohr <andi@splitbrain.org> 6 */ 7 8$conf['debug'] = 0; 9$conf['dsn'] = ''; 10$conf['user'] = ''; 11$conf['pass'] = ''; 12 13/** 14 * statement to select a single user identified by its login name 15 * 16 * input: :user 17 * return: user, name, mail, (clear|hash), [uid], [*] 18 */ 19$conf['select-user'] = ''; 20 21/** 22 * statement to select a single user identified by its login name 23 * 24 * input: :user, [uid] 25 * return: group 26 */ 27$conf['select-user-groups'] = ''; 28 29/** 30 * Select all the existing group names 31 * 32 * return: group, [gid], [*] 33 */ 34$conf['select-groups'] = ''; 35 36/** 37 * Create a new user 38 * 39 * input: :user, :name, :mail, (:clear|:hash) 40 */ 41$conf['insert-user'] = ''; 42 43/** 44 * Remove a user 45 * 46 * input: :user, [:uid], [*] 47 */ 48$conf['delete-user'] = ''; 49 50/** 51 * list user names matching the given criteria 52 * 53 * Make sure the list is distinct and sorted by user name. Apply the given limit and offset 54 * 55 * input: :user, :name, :mail, :group, :start, :end, :limit 56 * out: user 57 */ 58$conf['list-users'] = ''; 59 60/** 61 * count user names matching the given criteria 62 * 63 * Make sure the counted list is distinct 64 * 65 * input: :user, :name, :mail, :group 66 * out: count 67 */ 68$conf['count-users'] = ''; 69 70/** 71 * Update user data (except password and user name) 72 * 73 * input: :user, :name, :mail, [:uid], [*] 74 */ 75$conf['update-user-info'] = ''; 76 77/** 78 * Update user name aka login 79 * 80 * input: :user, :newlogin, [:uid], [*] 81 */ 82$conf['update-user-login'] = ''; 83 84/** 85 * Update user password 86 * 87 * input: :user, :clear, :hash, [:uid], [*] 88 */ 89$conf['update-user-pass'] = ''; 90 91/** 92 * Create a new group 93 * 94 * input: :group 95 */ 96$conf['insert-group'] = ''; 97 98/** 99 * Make user join group 100 * 101 * input: :user, [:uid], group, [:gid], [*] 102 */ 103$conf['join-group'] = ''; 104 105/** 106 * Make user leave group 107 * 108 * input: :user, [:uid], group, [:gid], [*] 109 */ 110$conf['leave-group'] = ''; 111