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 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, category: :deprecated
  )
  Net::IMAP::SASL.add_authenticator(...)
end
authenticator(...) click to toggle source

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

# File 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, category: :deprecated
  )
  Net::IMAP::SASL.authenticator(...)
end