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