[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/plugins/authpdo/conf/ -> default.php (source)

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