README 1.3 KB

123456789101112131415161718192021222324252627282930
  1. The Reverse Username Authentication plugin allows for StatusNet to handle authentication by checking if the provided password is the same as the reverse of the username.
  2. THIS PLUGIN IS FOR TESTING PURPOSES ONLY
  3. Installation
  4. ============
  5. add "addPlugin('reverseUsernameAuthentication', array('setting'=>'value', 'setting2'=>'value2', ...);" to the bottom of your config.php
  6. Settings
  7. ========
  8. provider_name*: This is a identifier designated to the connection.
  9. It's how StatusNet will refer to the authentication source.
  10. For the most part, any name can be used, so long as each authentication source has a different identifier.
  11. In most cases there will be only one authentication source used.
  12. password_changeable*: must be set to false. This plugin does not support changing passwords.
  13. authoritative (false): Set to true if this plugin's responses are authoritative (meaning if this fails, do check any other plugins or the internal password database).
  14. autoregistration (false): Set to true if users should be automatically created when they attempt to login.
  15. * required
  16. default values are in (parenthesis)
  17. Example
  18. =======
  19. addPlugin('reverseUsernameAuthentication', array(
  20. 'provider_name'=>'Example',
  21. 'password_changeable'=>false,
  22. 'authoritative'=>true,
  23. 'autoregistration'=>true
  24. ));