Authenticator for the “PLAIN” authentication type. See authenticate().

Methods
N
P
Class Public methods
new(user, password)
# File lib/net/imap.rb, line 3402
def initialize(user, password)
  @user = user
  @password = password
end
Instance Public methods
process(data)
# File lib/net/imap.rb, line 3396
def process(data)
  return "\0#{@user}\0#{@password}"
end