aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2010-02-28 22:40:05 +0100
committerTobias Markmann <tm@ayena.de>2010-02-28 22:40:05 +0100
commit1146d48bd64689a2675364b881d59bb88e3a0323 (patch)
treea3674ec53ecc727fff16e1914e2cb64a5f740563 /util/sasl
parentcb3a0cad21e9598fb4e9ed69a4294135da755aa6 (diff)
downloadprosody-1146d48bd64689a2675364b881d59bb88e3a0323.tar.gz
prosody-1146d48bd64689a2675364b881d59bb88e3a0323.zip
util.sasl.anonymous: Adding documentation on anonymous authentication backend.
Diffstat (limited to 'util/sasl')
-rw-r--r--util/sasl/anonymous.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/sasl/anonymous.lua b/util/sasl/anonymous.lua
index 65650294..d1e7d437 100644
--- a/util/sasl/anonymous.lua
+++ b/util/sasl/anonymous.lua
@@ -20,6 +20,16 @@ module "anonymous"
--=========================
--SASL ANONYMOUS according to RFC 4505
+
+--[[
+Supported Authentication Backends
+
+anonymous:
+ function(username, realm)
+ return true; --for normal usage just return true; if you don't like the supplied username you can return false.
+ end
+]]
+
local function anonymous(self, message)
local username;
repeat