Module exmpp_client_sasl

Authors: Jean-Sébastien Pédron (js.pedron@meetic-corp.com).

Function Index

abort/0Make a <abort/> element.
announced_mechanisms/1Return the list of SASL mechanisms announced by the receiving entity.
next_step/1Extract the challenge or the ending element that the receiving entity sent.
response/1Prepare a <response/> element to send the challenge's response.
selected_mechanism/1Prepare an <auth/> element with the selected mechanism.
selected_mechanism/2Prepare an <auth/> element with the selected mechanism.

Function Details

abort/0

abort() -> Abort

Make a <abort/> element.

announced_mechanisms/1

announced_mechanisms(Xmlel::Features_Annoucenement) -> Mechanisms

throws {sasl, announced_mechanisms, invalid_feature, Feature} | {sasl, announced_mechanisms, invalid_mechanism, El}

Return the list of SASL mechanisms announced by the receiving entity.

next_step/1

next_step(Xmlel::El) -> Type

Extract the challenge or the ending element that the receiving entity sent.

Any challenge or success data is Base64-decoded.

response/1

response(Response_Data) -> Response

Prepare a <response/> element to send the challenge's response.

Response_Data will be Base64-encoded.

selected_mechanism/1

selected_mechanism(Mechanism) -> Auth

Prepare an <auth/> element with the selected mechanism.

selected_mechanism/2

selected_mechanism(Mechanism, Initial_Response) -> Auth

Prepare an <auth/> element with the selected mechanism.

The initial response will be Base64-encoded before inclusion.


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