Module Async_smtp__.Credentials
module type Mech = Async_smtp__.Auth.Client
type elt
type t
= elt list
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val anon : t
val login : ?on_behalf_of:string -> username:string -> password:string -> unit -> t
val custom : (module Mech) -> t
val allows_anon : t -> bool
val get_auth_client : t -> tls:bool -> Async_smtp_types.Smtp_extension.t list -> [ `Anon | `Auth_with of (module Mech) ] Core.Or_error.t
module Stable : sig ... end