Diff

client.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 444:12c1be0044c6
child 457:73d4eb93657b
line wrap: on
line diff
--- a/client.lua	Wed Aug 03 02:47:55 2022 +0200
+++ b/client.lua	Wed Aug 03 02:59:09 2022 +0200
@@ -72,8 +72,9 @@
 	return true;
 end
 
-function stream:connect_client(jid, pass)
+function stream:connect_client(jid, pass, client_key, server_key)
 	self.jid, self.password = jid, pass;
+	self.client_key, self.server_key = client_key, server_key;
 	self.username, self.host, self.resource = jid_split(jid);
 
 	-- Required XMPP features