Class: Net::IMAP::LoginAuthenticator
- Inherits:
-
Object
- Object
- Net::IMAP::LoginAuthenticator
- Defined in:
- lib/net/imap.rb
Overview
Authenticator for the “LOGIN” authentication type. See #authenticate().
Instance Method Summary collapse
Instance Method Details
#process(data) ⇒ Object
3502 3503 3504 3505 3506 3507 3508 3509 3510 |
# File 'lib/net/imap.rb', line 3502 def process(data) case @state when STATE_USER @state = STATE_PASSWORD return @user when STATE_PASSWORD return @password end end |