Class | Jabber::SASL::Base |
In: |
lib/xmpp4r/sasl.rb
|
Parent: | Object |
SASL mechanism base class (stub)
# File lib/xmpp4r/sasl.rb, line 39 39: def generate_auth(mechanism, text=nil) 40: auth = REXML::Element.new 'auth' 41: auth.add_namespace NS_SASL 42: auth.attributes['mechanism'] = mechanism 43: auth.text = text 44: auth 45: end