使用Strophe.js在Openfire上进行新注册 [英] New registration on openfire with Strophe.js
问题描述
我将strophe.js库与Openfire一起使用,以在浏览器中发送和接收XMPP消息.它工作正常,但仅适用于我已经在我的联系人列表中的用户-名册. 我需要注册新用户.我知道如何在名单中添加现有人员,但我不知道如何在openfire上注册新用户.
使用 XEP-0077 ,在Strophe的插件存储库中已经存在插件. >
否则,作为具有管理员权限的用户,您需要从 HTTP的快速而肮脏的解决方案API .
I use strophe.js library with Openfire to send and receive XMPP messages in browser. It works fine, but only for users I already have in my contact list - roster. I need to get the new users registered. i know how to add existing people in my roster but i dont know how to register new users on openfire.
Use XEP-0077, there already exists a plugin in Strophe's plugin repo.
If not, as a user with admin rights, you need to implement the Add User from XEP-0133. Presumably this would be done on the server.
Finally, there seems to exist the quick and dirty solution of an HTTP API.
这篇关于使用Strophe.js在Openfire上进行新注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!