Class: Net::IMAP::SASLAdapter
Overview
Constant Summary
collapse
- RESPONSE_ERRORS =
[NoResponseError, BadResponseError, ByeResponseError]
.freeze
Instance Attribute Summary
#client, #command_proc
Instance Method Summary
collapse
#service
#cancel_response, #command_name, #decode, #encode, #encode_ir, #host, #port, #service
#authenticate, #initialize, #run_command
Instance Method Details
#auth_capable?(mechanism) ⇒ Boolean
15
|
# File 'lib/net/imap/sasl_adapter.rb', line 15
def auth_capable?(mechanism); client.auth_capable?(mechanism) end
|
#drop_connection ⇒ Object
16
|
# File 'lib/net/imap/sasl_adapter.rb', line 16
def drop_connection; client.logout! end
|
#drop_connection! ⇒ Object
17
|
# File 'lib/net/imap/sasl_adapter.rb', line 17
def drop_connection!; client.disconnect end
|
#response_errors ⇒ Object
13
|
# File 'lib/net/imap/sasl_adapter.rb', line 13
def response_errors; RESPONSE_ERRORS end
|
#sasl_ir_capable? ⇒ Boolean
14
|
# File 'lib/net/imap/sasl_adapter.rb', line 14
def sasl_ir_capable?; client.capable?("SASL-IR") end
|