From cb3a0cad21e9598fb4e9ed69a4294135da755aa6 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/plain.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'util/sasl/plain.lua') diff --git a/util/sasl/plain.lua b/util/sasl/plain.lua index ae5c777a..43bb239f 100644 --- a/util/sasl/plain.lua +++ b/util/sasl/plain.lua @@ -19,6 +19,21 @@ module "plain" -- ================================ -- SASL PLAIN according to RFC 4616 + +--[[ +Supported Authentication Backends + +plain: + function(username, realm) + return password, state; + end + +plain-test: + function(username, realm, password) + return true or false, state; + end +]] + local function plain(self, message) if not message then return "failure", "malformed-request"; -- cgit v1.2.3