Module: Blather::Stream::SASL::Plain

Defined in:
lib/blather/stream/features/sasl.rb

Instance Method Summary collapse

Instance Method Details

#authenticateObject



176
177
178
# File 'lib/blather/stream/features/sasl.rb', line 176

def authenticate
  @stream.send auth_node('PLAIN', b64("#{@jid.stripped}\x00#{@jid.node}\x00#{@pass}"))
end