rsasl is an implementation of the Simple Authentication and Security Layer — SASL.
Currently it uses gsasl-sys which are bindings to GNU gsasl, that however may change in the future.
Since it links to gsasl rsasl can provide a large number of mechanisms: - EXTERNAL - ANONYMOUS - PLAIN - LOGIN - CRAM-MD5 - DIGEST-MD5 - SCRAM-SHA-1 - NTLM - SECURID - GSSAPI - GS2-KRB5 - SAML20 - OPENID20 - KERBEROS_V5
Please see sasl-rs for a pure Rust SASL
implementation. It provides less Mechanisms but does not need unsafe
like
rsasl does due to it's FFI-bindings and does not rely on an old (albeit
well written) C library.
You can find a few examples on GitHub.