aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2010-02-28 22:42:53 +0100
committerTobias Markmann <tm@ayena.de>2010-02-28 22:42:53 +0100
commitceb748bd96b32e76092518c302cb62452508cbdb (patch)
treef35b6aa743bb2d4a78aaf169ab191bca04c6d686 /util
parent1146d48bd64689a2675364b881d59bb88e3a0323 (diff)
downloadprosody-ceb748bd96b32e76092518c302cb62452508cbdb.tar.gz
prosody-ceb748bd96b32e76092518c302cb62452508cbdb.zip
util.sasl.scram: Adding documentation on SCRAM authentication backend.
Diffstat (limited to 'util')
-rw-r--r--util/sasl/scram.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua
index 43b97c55..1ceeae47 100644
--- a/util/sasl/scram.lua
+++ b/util/sasl/scram.lua
@@ -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 )