module Auth: sig end
jabber:iq:auth authentication state machine. It is not necessary to use this directly if you use the Jabber_sync
module.
type
credentials =
| |
Plaintext of (string * string) |
| |
Digest of (string * string * string) |
Authentication credentials.
class type auth_machine = object end
The type of the jabber:iq:auth authenticator state machine.
val mk_auth_machine : credentials -> string -> (Jabber.packet -> unit) -> auth_machine
mk_auth_machine creds resource write_packet
creates a new authenticator given the credentials, resource, and a procedure that writes a packet back to the server.