util.sasl.scram: Adding documentation on SCRAM authentication backend.
authorTobias Markmann <tm@ayena.de>
Sun, 28 Feb 2010 21:42:53 +0000 (22:42 +0100)
committerTobias Markmann <tm@ayena.de>
Sun, 28 Feb 2010 21:42:53 +0000 (22:42 +0100)
util/sasl/scram.lua

index 4e52f5cd50b9a7b5dc790dd401eeaafed450788c..14fb8bebcec3d2301bdb56bc10b923f2d9c14aed 100644 (file)
@@ -28,6 +28,16 @@ module "scram"
 
 --=========================
 --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 )