In Files

  • net/imap.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Net::IMAP::CramMD5Authenticator

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

Public Class Methods

new(user, password) click to toggle source
 
               # File net/imap.rb, line 3556
def initialize(user, password)
  @user = user
  @password = password
end
            

Public Instance Methods

process(challenge) click to toggle source
 
               # File net/imap.rb, line 3549
def process(challenge)
  digest = hmac_md5(challenge, @password)
  return @user + " " + digest
end
            
There is an updated format of the API docs for this version here.