Module Jabber::SASL
In: lib/xmpp4r/sasl.rb

Helpers for SASL authentication (RFC2222)

You might not need to use them directly, they are invoked by Jabber::Client#auth

Methods

new  

Classes and Modules

Class Jabber::SASL::Base
Class Jabber::SASL::DigestMD5
Class Jabber::SASL::Plain

Constants

NS_SASL = 'urn:ietf:params:xml:ns:xmpp-sasl'

Public Class methods

Factory function to obtain a SASL helper for the specified mechanism

[Source]

    # File lib/xmpp4r/sasl.rb, line 15
15:     def SASL::new(stream, mechanism)
16:       case mechanism
17:         when 'DIGEST-MD5'
18:           DigestMD5.new(stream)
19:         when 'PLAIN'
20:           Plain.new(stream)
21:         else
22:           raise "Unknown SASL mechanism: #{mechanism}"
23:       end
24:     end

[Validate]