module Net::IMAP::Authenticators

Backward compatible delegators from Net::IMAP to Net::IMAP::SASL.

Public Instance Methods

add_authenticator(...) click to toggle source

Deprecated. Use Net::IMAP::SASL.add_authenticator instead.

# File net-imap-0.4.16/lib/net/imap/authenticators.rb, line 7
def add_authenticator(...)
  warn(
    "%s.%s is deprecated.  Use %s.%s instead." % [
      Net::IMAP, __method__, Net::IMAP::SASL, __method__
    ],
    uplevel: 1
  )
  Net::IMAP::SASL.add_authenticator(...)
end
authenticator(...) click to toggle source

Deprecated. Use Net::IMAP::SASL.authenticator instead.

# File net-imap-0.4.16/lib/net/imap/authenticators.rb, line 18
def authenticator(...)
  warn(
    "%s.%s is deprecated.  Use %s.%s instead." % [
      Net::IMAP, __method__, Net::IMAP::SASL, __method__
    ],
    uplevel: 1
  )
  Net::IMAP::SASL.authenticator(...)
end