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