diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-11 19:24:26 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-11 19:24:26 +0200 |
commit | 7444155d05a63fdbad93ee6f54d92efe32f2e337 (patch) | |
tree | cd3bfba4ee81d57a3ff9a8368581622d911e117a | |
parent | 83b07678994d774ebc22cf387229ed7620d7708e (diff) |
feat: move auth to sasl
-rw-r--r-- | lib/flesh.ml | 2 | ||||
-rw-r--r-- | lib/sasl.ml (renamed from lib/auth.ml) | 0 | ||||
-rw-r--r-- | test/js/websockets_hello.ml | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/flesh.ml b/lib/flesh.ml index 6bf7fa0..d8aca97 100644 --- a/lib/flesh.ml +++ b/lib/flesh.ml @@ -1,2 +1,2 @@ module Stream = Stream -module Auth = Auth +module Sasl = Sasl diff --git a/lib/auth.ml b/lib/sasl.ml index 606beb6..606beb6 100644 --- a/lib/auth.ml +++ b/lib/sasl.ml diff --git a/test/js/websockets_hello.ml b/test/js/websockets_hello.ml index 292b365..6882c5b 100644 --- a/test/js/websockets_hello.ml +++ b/test/js/websockets_hello.ml @@ -18,9 +18,9 @@ let rec run t = let main (stream, push) jid password = let* _stream = Lwt_stream.get stream - in let+ _auth = Auth.send_auth_stanza (stream, push) + in let+ _auth = Sasl.send_auth_stanza (stream, push) jid password - Auth.PLAIN + Sasl.PLAIN in push None; match _auth with | Error (NotAuthorized, Some (_, text)) -> print_endline ("Not authorized: " ^ text) |