File

util/sasl/anonymous.lua @ 452:628896d39d8e

client: Allow passing SCRAM hashes for use in authentication
author Kim Alvefur <zash@zash.se>
date Wed, 03 Aug 2022 02:59:09 +0200
parent 358:a8f6fd6a70ed
line wrap: on
line source


return function (stream, name)
	if name == "ANONYMOUS" then
		return function ()
			return coroutine.yield() == "success";
		end, 0;
	end
end