cburschka / ejabberd-auth-php

Extendable system of bridging ejabberd with PHP authentication systems.
21 stars 11 forks source link

add a single-auth entry point #16

Closed cburschka closed 8 years ago

cburschka commented 8 years ago

The bridge system currently supports only ejabberd's own API, which runs the script as a daemon and communicates via pipes.

If we add a script that executes a single request via command-line arguments and communicates via exit codes, then the system can be used by a whole bunch of generic software - eg. Dovecot, modulo some small amount of glue code.

cburschka commented 8 years ago

Ideally the main.php script would simply do that if it gets arguments.