[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

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