NAME

Protocol::XMPP::Challenge - deal with the XMPP challenge

VERSION

Version 0.006

SYNOPSIS

DESCRIPTION

Generate a response to an XMPP challenge using the Auth::SASL object we set up earlier.

METHODS

end_element

On completion of the element, queue a write for the answering token as provided by Authen::SASL. Token value is opaque binary data, and must be Base64 encoded (using MIME::Base64).

INHERITED METHODS

Protocol::XMPP::ElementBase

attributes, characters, class_from_element, new, parent

Protocol::XMPP::Base

debug, dispatch_event, is_authorised, is_loggedin, new_future, next_id, stream, write_text, write_xml

Mixin::Event::Dispatch

add_handler_for_event, clear_event_handlers, event_handlers, invoke_event, subscribe_to_event, unsubscribe_from_event

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself.