Class: Net::IMAP::PlainAuthenticator
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/net/imap.rb |
Overview
Authenticator for the “PLAIN” authentication type. See #authenticate().
Class Method Summary
- .new(user, password) ⇒ PlainAuthenticator constructor private
Instance Method Summary
Constructor Details
.new(user, password) ⇒ PlainAuthenticator
(private)
# File 'lib/net/imap.rb', line 3462
def initialize(user, password) @user = user @password = password end
Instance Method Details
#process(data)
[ GitHub ]# File 'lib/net/imap.rb', line 3456
def process(data) return "\0#{@user}\0#{@password}" end