Module: Blather::Stream::SASL::Plain
- Defined in:
- lib/blather/stream/features/sasl.rb
Instance Method Summary collapse
Instance Method Details
#authenticate ⇒ Object
177 178 179 |
# File 'lib/blather/stream/features/sasl.rb', line 177 def authenticate @stream.send auth_node('PLAIN', b64("#{@jid.stripped}\x00#{@authcid}\x00#{@pass}")) end |