123456789_123456789_123456789_123456789_123456789_

Module: Net::IMAP::Authenticators

Relationships & Source Files
Defined in: lib/net/imap/authenticators.rb

Overview

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

Instance Method Summary

Instance Method Details

#add_authenticator

Deprecated. Use SASL.add_authenticator instead.

[ GitHub ]

  
# 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
  )
  Net::IMAP::SASL.add_authenticator(...)
end

#authenticator

Deprecated. Use SASL.authenticator instead.

[ GitHub ]

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