Authenticator for the “LOGIN” authentication type. See authenticate().
Constants
No documentation available
No documentation available
Class Methods
lib/net/imap.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/net/imap.rb, line 3445
def initialize(user, password)
@user = user
@password = password
@state = STATE_USER
end
No documentation available
Instance Methods
lib/net/imap.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/net/imap.rb, line 3430
def process(data)
case @state
when STATE_USER
@state = STATE_PASSWORD
return @user
when STATE_PASSWORD
return @password
end
end
No documentation available