Object
Authenticator for the “LOGIN” authentication type. See authenticate().
# File net/imap.rb, line 3146 def initialize(user, password) @user = user @password = password @state = STATE_USER end
# File net/imap.rb, line 3131 def process(data) case @state when STATE_USER @state = STATE_PASSWORD return @user when STATE_PASSWORD return @password end end
This page was generated for Ruby 1.8.6
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.0.