aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2011-01-15 17:59:15 +0100
committerTobias Markmann <tm@ayena.de>2011-01-15 17:59:15 +0100
commit1e72875d5263b9478b257b27a3784dcd7fc4dcc3 (patch)
treec9965ea1157433946f3999babd24aa32cbe37d0f /util/sasl.lua
parentb73cbae8a5e49f7f3300e7c028e570ad8a58e46d (diff)
downloadprosody-1e72875d5263b9478b257b27a3784dcd7fc4dcc3.tar.gz
prosody-1e72875d5263b9478b257b27a3784dcd7fc4dcc3.zip
Check whether we support the proposed channel binding type.
Diffstat (limited to 'util/sasl.lua')
-rw-r--r--util/sasl.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 93b79a86..37a234c9 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -27,6 +27,17 @@ Authentication Backend Prototypes:
state = false : disabled
state = true : enabled
state = nil : non-existant
+
+Channel Binding:
+
+To enable support of channel binding in some mechanisms you need to provide appropriate callbacks in a table
+at profile.cb.
+
+Example:
+ profile.cb["tls-unique"] = function(self)
+ return self.user
+ end
+
]]
local method = {};