Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 522 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 522 Bytes

Ejabberd user lib

Ejabberd allows user registeration using http i.e. mod_register_web.erl. The requests sent for user operation have been abstracted out to this code.

Usage

1> ejb_user:register(<<"user3">>, <<"localhost">>, <<"kansi">>, <<"kansi">>, #{url => <<"http://localhost:5281">>}).
2> ejb_user:change_password(<<"user3">>, <<"kansi">>, <<"kansi">>, <<"kansi">>, #{url => <<"http://localhost:5281">>}).
3> ejb_user:delete(<<"user3">>, <<"kansi">>, #{url => <<"http://localhost:5281">>}).