From 76f95b2d3e9d0372d013d455b67aa18e151c2f6f Mon Sep 17 00:00:00 2001 From: Christoph Burschka Date: Mon, 30 Dec 2013 02:43:36 +0100 Subject: Explain how the class methods work. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ecf3023..269df4d 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,13 @@ In order to create a new plugin named {xyz}, you will need the following: * A class extending EjabberdAuthBridge and implementing its methods. * A file named {xyz}.module that contains the function {xyz}_init(). -* {xyz}_init() will receive its appropriate conf array in config.php. -* {xyz}_init() must return an instance of the extended class. + +{xyz}_init() will receive its appropriate conf array in config.php and must +return an instance of the extended class. + +The class methods must return boolean values indicating success or failure. +It is generally recommended NOT to allow account creation, account deletion or +password changes, and instead to simply return FALSE in these methods. ## LICENSE -- cgit v1.1