summaryrefslogtreecommitdiff
path: root/platform/www/lib/plugins/authpdo/conf/default.php
blob: 138ca2f109f4fd8dad7c580ebbe45ab1bf5c4cd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?php
/**
 * Default settings for the authpdo plugin
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 */

$conf['debug'] = 0;
$conf['dsn'] = '';
$conf['user'] = '';
$conf['pass'] = '';

/**
 * statement to select a single user identified by its login name
 *
 * input: :user
 * return: user, name, mail, (clear|hash), [uid], [*]
 */
$conf['select-user'] = '';

/**
 * statement to check the password in SQL, optional when above returned clear or hash
 *
 * input: :user, :clear, :hash, [uid], [*]
 * return: *
 */
$conf['check-pass'] = '';

/**
 * statement to select a single user identified by its login name
 *
 * input: :user, [uid]
 * return: group
 */
$conf['select-user-groups'] = '';

/**
 * Select all the existing group names
 *
 * return: group, [gid], [*]
 */
$conf['select-groups'] = '';

/**
 * Create a new user
 *
 * input: :user, :name, :mail, (:clear|:hash)
 */
$conf['insert-user'] = '';

/**
 * Remove a user
 *
 * input: :user, [:uid], [*]
 */
$conf['delete-user'] = '';

/**
 * list user names matching the given criteria
 *
 * Make sure the list is distinct and sorted by user name. Apply the given limit and offset
 *
 * input: :user, :name, :mail, :group, :start, :end, :limit
 * out: user
 */
$conf['list-users'] = '';

/**
 * count user names matching the given criteria
 *
 * Make sure the counted list is distinct
 *
 * input: :user, :name, :mail, :group
 * out: count
 */
$conf['count-users'] = '';

/**
 * Update user data (except password and user name)
 *
 * input: :user, :name, :mail, [:uid], [*]
 */
$conf['update-user-info'] = '';

/**
 * Update user name aka login
 *
 * input: :user, :newlogin, [:uid], [*]
 */
$conf['update-user-login'] = '';

/**
 * Update user password
 *
 * input: :user, :clear, :hash, [:uid], [*]
 */
$conf['update-user-pass'] = '';

/**
 * Create a new group
 *
 * input: :group
 */
$conf['insert-group'] = '';

/**
 * Make user join group
 *
 * input: :user, [:uid], group, [:gid], [*]
 */
$conf['join-group'] = '';

/**
 * Make user leave group
 *
 * input: :user, [:uid], group, [:gid], [*]
 */
$conf['leave-group'] = '';