util.sasl.scram: Adding documentation on SCRAM authentication backend.
authorTobias Markmann <tm@ayena.de>
Sun, 28 Feb 2010 22:42:53 +0100
changeset 3097 9341ef1a3345
parent 3096 e69282792686
child 3098 e5d349c0acde
util.sasl.scram: Adding documentation on SCRAM authentication backend.
util/sasl/scram.lua
--- a/util/sasl/scram.lua	Sun Feb 28 22:23:03 2010 +0100
+++ b/util/sasl/scram.lua	Sun Feb 28 22:42:53 2010 +0100
@@ -28,6 +28,16 @@
 
 --=========================
 --SASL SCRAM-SHA-1 according to draft-ietf-sasl-scram-10
+
+--[[
+Supported Authentication Backends
+
+scram-{MECH}:
+	function(username, realm)
+		return salted_password, iteration_count, salt, state;
+	end
+]]
+
 local default_i = 4096
 
 local function bp( b )