Class: Hermeneutics::Cli::ImapTools::AuthLogin
- Inherits:
-
Auth
- Object
- Command
- CommandNamed
- Auth
- Hermeneutics::Cli::ImapTools::AuthLogin
- Defined in:
- lib/hermeneutics/cli/imap/commands.rb
Constant Summary collapse
- TYPE =
:LOGIN
Constants inherited from Auth
Hermeneutics::Cli::ImapTools::Auth::NAME
Instance Attribute Summary
Attributes inherited from Auth
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Auth
find, inherited, #initialize, #params
Methods inherited from CommandNamed
Methods inherited from Command
Constructor Details
This class inherits a constructor from Hermeneutics::Cli::ImapTools::Auth
Instance Method Details
#stream_lines(r) ⇒ Object
126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/hermeneutics/cli/imap/commands.rb', line 126 def stream_lines r a = super loop do a = dec64 a l = case a when /user/i then @user when /pass/i then @passwd end l = enc64 l a = yield [l] end end |