ecrire/auth directory contains the various scripts used to manage user connections. One file manages authentication using the SPIP methodology, and the other works for an LDAP directory.
The authentication processes are relatively complex as they involve numerous security checks. An API defines the various stages of authentication and the creation of new users. Please refer to the section on authentication for further details.