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-3.0.5/lib/net/imap.rb, line 3522
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-3.0.5/lib/net/imap.rb, line 3507
def process(data)
case @state
when STATE_USER
@state = STATE_PASSWORD
return @user
when STATE_PASSWORD
return @password
end
end
No documentation available