Object
Authenticator for the “CRAM-MD5” authentication type. See authenticate().
# File net/imap.rb, line 3291 def initialize(user, password) @user = user @password = password end
# File net/imap.rb, line 3284 def process(challenge) digest = hmac_md5(challenge, @password) return @user + " " + digest end
This page was generated for Ruby 1.9.2
Ruby-doc.org is managed by James Britt and Neurogami. Live curious.
Generated with the Rubydoc Rdoc Generator 0.9.3.