util/sasl.lua

changeset 1134
3b1809910773
parent 894
2c0b9e3c11c3
child 1158
7d1e4fc1ee6d
equal deleted inserted replaced
1133:b293d7dc6a45 1134:3b1809910773
24 local string = string 24 local string = string
25 local math = require "math" 25 local math = require "math"
26 local type = type 26 local type = type
27 local error = error 27 local error = error
28 local print = print 28 local print = print
29 local idna_ascii = require "util.encodings".idna.to_ascii
30 local idna_unicode = require "util.encodings".idna.to_unicode
31 29
32 module "sasl" 30 module "sasl"
33 31
34 local function new_plain(realm, password_handler) 32 local function new_plain(realm, password_handler)
35 local object = { mechanism = "PLAIN", realm = realm, password_handler = password_handler} 33 local object = { mechanism = "PLAIN", realm = realm, password_handler = password_handler}

mercurial