aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2010-02-28 22:32:12 +0100
committerTobias Markmann <tm@ayena.de>2010-02-28 22:32:12 +0100
commitcb3a0cad21e9598fb4e9ed69a4294135da755aa6 (patch)
tree3c3e5c7f31bb6b48691668709b947bf61e4c3afb /util/sasl.lua
parentb4ba73c8b61d4af5282dd88216a71323c967e0e6 (diff)
downloadprosody-cb3a0cad21e9598fb4e9ed69a4294135da755aa6.tar.gz
prosody-cb3a0cad21e9598fb4e9ed69a4294135da755aa6.zip
util.sasl: Moving SASL authentication backends documentation to the mechanism files.
Diffstat (limited to 'util/sasl.lua')
-rw-r--r--util/sasl.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 9c8fff78..925e5124 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -41,27 +41,6 @@ Authentication Backend Prototypes:
state = false : disabled
state = true : enabled
state = nil : non-existant
-
-plain:
- function(username, realm)
- return password, state;
- end
-
-plain-test:
- function(username, realm, password)
- return true or false, state;
- end
-
-digest-md5:
- function(username, domain, realm, encoding) -- domain and realm are usually the same; for some broken
- -- implementations it's not
- return digesthash, state;
- end
-
-digest-md5-test:
- function(username, domain, realm, encoding, digesthash)
- return true or false, state;
- end
]]
local method = {};