Ocamlnet 4 Reference Manual : Netsys_sasl

# Module Netsys_sasl

    module Netsys_sasl: sig .. end

User interface for SASL mechanisms

    type sasl_mechanism = (module Netsys_sasl_types.SASL_MECHANISM)

    type credentials = (string * string * (string * string) list) list

Credentials are given as list `(type,value,params)`. The mechanism may pick any element of this list which are considered as equivalent.

Types are defined per mechanism. All mechanisms understand the "password" type, which is just the cleartext password, e.g.

            [ "password", "ThE sEcReT", [] ]

    module Info: sig .. end

    module Client: sig .. end

    module Server: sig .. end