Authenticator for the “CRAM-MD5” authentication type. See authenticate().

Methods
N
P
Class Public methods
new(user, password)
# File lib/net/imap.rb, line 3473
def initialize(user, password)
  @user = user
  @password = password
end
Instance Public methods
process(challenge)
# File lib/net/imap.rb, line 3466
def process(challenge)
  digest = hmac_md5(challenge, @password)
  return @user + " " + digest
end