Module: Blather::Stream::SASL::DigestMD5

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

Overview

Digest MD5 authentication

Instance Method Summary collapse

Instance Method Details

#authenticateObject

Lets the server know we’re going to try DigestMD5 authentication



101
102
103
# File 'lib/blather/stream/features/sasl.rb', line 101

def authenticate
  @stream.send auth_node('DIGEST-MD5')
end

#challengeObject

Receive the challenge command.



107
108
109
110
# File 'lib/blather/stream/features/sasl.rb', line 107

def challenge
  decode_challenge
  respond
end