Changeset

2993:06d06fdd190b

util.sasl.scram: Adding documentation on SCRAM authentication backend.
author Tobias Markmann <tm@ayena.de>
date Sun, 28 Feb 2010 22:42:53 +0100
parents 2992:9ce36f7eb24a
children 2994:b8448e181487
files util/sasl/scram.lua
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl/scram.lua	Sun Feb 28 22:40:05 2010 +0100
+++ b/util/sasl/scram.lua	Sun Feb 28 22:42:53 2010 +0100
@@ -28,6 +28,16 @@
 
 --=========================
 --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 )