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 | 1d5c54a2f55c1e60313c6aa4cc411edd7c7578c5 (patch) | |
tree | 9164c1582883a2aa619b991f7599a841f1f1c863 /util | |
parent | eb398e4d08506202d9a67fed60c355afd70c0f81 (diff) | |
download | prosody-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.lua | 10 |
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 ) |