Chapter 7. User Registration and Authorization
With all of Jabber’s building blocks at our fingertips, we can now take a look at two fundamental processes that revolve around Jabber users:
The registration, or creation, of Jabber user accounts
The authentication of a Jabber user account, including the different authentication methods
These processes involve some of the things we learned about in Chapter 5 and Chapter 6, so we’ll take a look at them again along the way:
The XML stream header
The
jabber:iq:registernamespaceThe
jabber:iq:authnamespace
At the end of this chapter, we will create a small utility program with which we can register users on a server. We can then use this utility program to create users as required for further recipes in this book.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access