External Authentication Script : What is the expected return value

Dear All ...

I'm learning on how to write external authentication script.

Learned from jcornez's filter at http://www.ejabberd.im/auth-script-filter-py ,
I knew (From "def from_ejabberd()) that , the final auth-script will need to handle an input format of :
auth:AAA:BBB:CCC ,
where :
AAA = username
BBB = Domain
CCC = password

My Question is for the last line --> to_ejabberd(result)

What values and in what kind of format that I have to store for "result" ?

Sincerely
-bino-

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

You can check the dev.html

You can check the dev.html file included in some ejabberd packages, and also available here:
https://git.process-one.net/ejabberd/mainline/blobs/raw/2.1.x/doc/dev.html

Syndicate content