Comparison

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
comparison
equal deleted inserted replaced
5828:24de22c01f8d 5829:40c16475194e
25 Authentication Backend Prototypes: 25 Authentication Backend Prototypes:
26 26
27 state = false : disabled 27 state = false : disabled
28 state = true : enabled 28 state = true : enabled
29 state = nil : non-existant 29 state = nil : non-existant
30
31 Channel Binding:
32
33 To enable support of channel binding in some mechanisms you need to provide appropriate callbacks in a table
34 at profile.cb.
35
36 Example:
37 profile.cb["tls-unique"] = function(self)
38 return self.user
39 end
40
30 ]] 41 ]]
31 42
32 local method = {}; 43 local method = {};
33 method.__index = method; 44 method.__index = method;
34 local mechanisms = {}; 45 local mechanisms = {};