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