Object
Authenticator for the “LOGIN” authentication type. See authenticate().
# File net/imap.rb, line 3517 def initialize(user, password) @user = user @password = password @state = STATE_USER end
# File net/imap.rb, line 3502 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 2.7.0
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.2.