Software /
code /
prosody
Diff
util/sasl.lua @ 5829:40c16475194e
Check whether we support the proposed channel binding type.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Sat, 15 Jan 2011 17:59:15 +0100 |
parent | 3550:5e5d136d9de0 |
child | 5831:aa4bdabd3c0f |
line wrap: on
line diff
--- a/util/sasl.lua Wed Jan 12 21:29:37 2011 +0100 +++ b/util/sasl.lua Sat Jan 15 17:59:15 2011 +0100 @@ -27,6 +27,17 @@ 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 = {};