Changeset

3097:9341ef1a3345

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 3096:e69282792686
children 3098:e5d349c0acde
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:23:03 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 )