I am working on a web project, and I have to make a web chat. My structure is more or less like this: you have a username, password, nickname and email, and you can chat with other people who are in your roster. I am using django (python) for the web back-end, and xmpp for the chat part.
I have read a lot about xmpp, and I implemented a simple chat using stanzas, with adding and removal of contacts, nicknames, etc.
What I want to ask is how to communicate with django and ejabberd, for things like registering a user (I don't want in-band registration, I only want to enable registration when the user creates an account), changing passwords, updating nicknames, etc. Mostly things that need some kind of elevated privilege to do.
I did some research before posting here, I am aware of sleekxmp, but as far as I am concerned, it is just a python library for xmpp. Also, I didn't found an API for ejabberd.
Thank you.