diff options
author | Tobias Markmann <tm@ayena.de> | 2010-02-28 22:42:53 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2010-02-28 22:42:53 +0100 |
commit | ceb748bd96b32e76092518c302cb62452508cbdb (patch) | |
tree | f35b6aa743bb2d4a78aaf169ab191bca04c6d686 | |
parent | 1146d48bd64689a2675364b881d59bb88e3a0323 (diff) | |
download | prosody-ceb748bd96b32e76092518c302cb62452508cbdb.tar.gz prosody-ceb748bd96b32e76092518c302cb62452508cbdb.zip |
util.sasl.scram: Adding documentation on SCRAM authentication backend.
-rw-r--r-- | util/sasl/scram.lua | 10 |
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 ) |