The PHP SASL package provides a single interface for implementing multiple standard authentication mechanisms commonly used by Internet protocols such as SMTP, POP3, IMAP, HTTP, etc. Currently it implements the following mechanisms: (HTTP) Basic, (HTTP) Digest, PLAIN, LOGIN, CRAM-MD5, and NTLM (used by Windows or Linux/Unix with Samba).