Module: Blather::Stream::SASL::DigestMD5
- Defined in:
- lib/blather/stream/features/sasl.rb
Overview
Digest MD5 authentication
Instance Method Summary collapse
-
#authenticate ⇒ Object
Lets the server know we’re going to try DigestMD5 authentication.
-
#challenge ⇒ Object
Receive the challenge command.
Instance Method Details
#authenticate ⇒ Object
Lets the server know we’re going to try DigestMD5 authentication
100 101 102 |
# File 'lib/blather/stream/features/sasl.rb', line 100 def authenticate @stream.send auth_node('DIGEST-MD5') end |
#challenge ⇒ Object
Receive the challenge command.
106 107 108 109 |
# File 'lib/blather/stream/features/sasl.rb', line 106 def challenge decode_challenge respond end |