简体   繁体   中英

Identify user with a specific information

How to identify an user with specific information like unique id or reference number in ejabberd API for chat?

I want to chat with someone then user has some information except name which is unique for that specific user. so we can identify the user in chat based on that?

on register user while calling /api/register API, there is no any unique response which is useful to make chat with another user

Even, /api/registered_users given only name of all the registered users, not any unique information

So, what is the solution? any other APIs is there for the same or what?

A user (that may be a person, or a machine, or an animal) can register an account in ejabberd (or any other server). That account is identified by the account username and host, for example tom@example.com.

The user uses an account, and the account is identified by the account username and host.

There is nothing else. What else could there be?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM