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

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

Overview

DigestMD5

Instance Method Summary collapse

Instance Method Details

#authenticateObject

:nodoc:



174
175
176
# File 'lib/blather/stream/features/sasl.rb', line 174

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