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

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

Overview

DigestMD5

Instance Method Summary collapse

Instance Method Details

#authenticateObject

:nodoc:



167
168
169
# File 'lib/blather/stream/features/sasl.rb', line 167

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