Module: Net::IMAP::Authenticators

Extended by:
Authenticators
Included in:
Authenticators
Defined in:
lib/net/imap/authenticators.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#add_authenticatorObject

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



7
8
9
10
11
12
13
14
15
# 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

#authenticatorObject

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



18
19
20
21
22
23
24
25
26
# 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