Module exmpp_client_register

.

Authors: Mickael Remond (mickael.remond@process-one.net).

Description

The module exmpp_client_register implements packets formatting conforming to XEP-0077: In-Band Registration. See: http://www.xmpp.org/extensions/xep-0077.html

Note: This implementation is still partial and does not support all workflow of the XEP-0077.

Function Index

get_registration_fields/0Make an <iq> to get the instruction to register and the list of registration fields.
get_registration_fields/1Make an <iq> to get the instruction to register and the list of registration fields.
register_account/1Make an <iq> that prepare a registration packet for the user.
register_account/2Make an <iq> that prepare a registration packet for the user.
remove_account/0Make an <iq> that delete user account on the server.
remove_account/1Make an <iq> that delete user account on the server.

Function Details

get_registration_fields/0

get_registration_fields() -> Register_Iq

Make an <iq> to get the instruction to register and the list of registration fields.

The stanza id is generated automatically.

get_registration_fields/1

get_registration_fields(Id) -> Register_Iq

Make an <iq> to get the instruction to register and the list of registration fields.

register_account/1

register_account(Fields) -> Register_Iq

Make an <iq> that prepare a registration packet for the user.

register_account/2

register_account(Id, Fields) -> Register_Iq

Make an <iq> that prepare a registration packet for the user.

remove_account/0

remove_account() -> RemoveRegister_Iq

Make an <iq> that delete user account on the server. The user is supposed to be already logged in.

remove_account/1

remove_account(Id) -> RemoveRegister_Iq

Make an <iq> that delete user account on the server. The user is supposed to be already logged in.


Generated by EDoc, Jan 21 2011, 01:43:54.