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