aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-05-05 11:29:10 +0100
committerMatthew Wild <mwild1@gmail.com>2010-05-05 11:29:10 +0100
commita17cc3b6791eaf110ded69edbc07e41e881e036d (patch)
treeae4b02ccb9e9117eafb78c2d8c74951f6e528972 /util/sasl.lua
parentcca05af3d369ba4e53cd76f7e33196c5ee8415b4 (diff)
parentb05ccd7b3affed026faf4b492d91af972f5ae8ac (diff)
downloadprosody-a17cc3b6791eaf110ded69edbc07e41e881e036d.tar.gz
prosody-a17cc3b6791eaf110ded69edbc07e41e881e036d.zip
Merge Tobias's fancy SASL branch->trunk
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 eb71956b..306acc0c 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 = {};