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
commit1d5c54a2f55c1e60313c6aa4cc411edd7c7578c5 (patch)
tree9164c1582883a2aa619b991f7599a841f1f1c863 /util
parenteb398e4d08506202d9a67fed60c355afd70c0f81 (diff)
downloadprosody-1d5c54a2f55c1e60313c6aa4cc411edd7c7578c5.tar.gz
prosody-1d5c54a2f55c1e60313c6aa4cc411edd7c7578c5.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 4e52f5cd..14fb8beb 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 )