ibr — In-Band Registration (XEP-0077)

This module implements in-band registration.

Registration Functions

The module level registration functions work on an aioxmpp.protocol.XMLStream and before authentication. They allow to register a new account with a server.

Helper Function

aioxmpp.ibr.get_used_fields(payload)[source]

Get a list containing the names of the fields that are used in the xso.Query.

Parameters

payload (Query) – Query object o be

Returns

list

Service

class aioxmpp.ibr.RegistrationService(client, *, logger_base=None, dependencies={}, service_order_index=0)[source]

Service implementing the XMPP In-Band Registration(XEP-0077) use cases for registered entities.

This service allows an already registered and authenticated entity to request information about the registration, cancel an existing registration, or change a password.

XSO Definitions

class aioxmpp.ibr.Query(*args, **kwargs)[source]

XEP-0077 In-Band Registraion query XSO.

It has the following fields described in the XEP document:

username
nick
password
name
first
last
email
address
city
state
zip
phone
url
date
misc
text
key
registered
remove