From 9ab1efc4625133264e805929ab024d80faf350dd Mon Sep 17 00:00:00 2001 From: Clombrong Date: Sun, 29 Jun 2025 15:25:01 +0200 Subject: style(sasl): rename auth_config to config --- lib/sasl.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sasl.ml') diff --git a/lib/sasl.ml b/lib/sasl.ml index 5ec6989..4498fec 100644 --- a/lib/sasl.ml +++ b/lib/sasl.ml @@ -4,7 +4,7 @@ type mechanism = | PLAIN | Unknown of string [@@deriving show { with_path = false }] -type auth_config = { +type config = { jid : string; password : string; preferred_mechanisms : mechanism list; @@ -64,7 +64,7 @@ let send_auth_stanza ({stream; push; _} : Portal.t) localpart pass mechanism = let authenticate (portal : Portal.t) - ({jid; password; preferred_mechanisms} : auth_config) + ({jid; password; preferred_mechanisms} : config) (sasl_mechanisms : mechanism list) = (* Probably not exactly compliant with https://xmpp.org/extensions/xep-0029.html, but it's just for simplicity's sake in alpha. *) -- cgit v1.2.3