Method: Blather::Stream::SASL::Plain#authenticate

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

#authenticateObject



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