diff options
author | Tobias Markmann <tm@ayena.de> | 2010-02-28 22:40:05 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2010-02-28 22:40:05 +0100 |
commit | 1146d48bd64689a2675364b881d59bb88e3a0323 (patch) | |
tree | a3674ec53ecc727fff16e1914e2cb64a5f740563 /util/sasl/anonymous.lua | |
parent | cb3a0cad21e9598fb4e9ed69a4294135da755aa6 (diff) | |
download | prosody-1146d48bd64689a2675364b881d59bb88e3a0323.tar.gz prosody-1146d48bd64689a2675364b881d59bb88e3a0323.zip |
util.sasl.anonymous: Adding documentation on anonymous authentication backend.
Diffstat (limited to 'util/sasl/anonymous.lua')
-rw-r--r-- | util/sasl/anonymous.lua | 10 |
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 |