Class: Net::IMAP::CramMD5Authenticator
- Inherits:
-
Object
- Object
- Net::IMAP::CramMD5Authenticator
- Defined in:
- lib/net/imap.rb
Overview
Authenticator for the “CRAM-MD5” authentication type. See #authenticate().
Instance Method Summary collapse
Instance Method Details
#process(challenge) ⇒ Object
3935 3936 3937 3938 |
# File 'lib/net/imap.rb', line 3935 def process(challenge) digest = hmac_md5(challenge, @password) return @user + " " + digest end |