From 03e17022ef1117321cd3898e7282f396692d824a Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Sun, 28 Feb 2010 22:32:12 +0100 Subject: util.sasl: Moving SASL authentication backends documentation to the mechanism files. --- util/sasl/digest-md5.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'util/sasl/digest-md5.lua') diff --git a/util/sasl/digest-md5.lua b/util/sasl/digest-md5.lua index 04acf04d..fc2107bc 100644 --- a/util/sasl/digest-md5.lua +++ b/util/sasl/digest-md5.lua @@ -29,6 +29,21 @@ module "digest-md5" --========================= --SASL DIGEST-MD5 according to RFC 2831 +--[[ +Supported Authentication Backends + +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 function digest(self, message) --TODO complete support for authzid -- cgit v1.2.3