| Server IP : 217.160.0.244 / Your IP : 216.73.216.36 Web Server : Apache System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64 User : u100174116 ( 6746176) PHP Version : 8.5.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/ruby/gems/3.3.0/gems/net-imap-0.4.19/lib/net/imap/ |
Upload File : |
# frozen_string_literal: true
# Backward compatible delegators from Net::IMAP to Net::IMAP::SASL.
module Net::IMAP::Authenticators
# Deprecated. Use Net::IMAP::SASL.add_authenticator instead.
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
# Deprecated. Use Net::IMAP::SASL.authenticator instead.
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
Net::IMAP.extend self
end
class Net::IMAP
PlainAuthenticator = SASL::PlainAuthenticator # :nodoc:
deprecate_constant :PlainAuthenticator
XOauth2Authenticator = SASL::XOAuth2Authenticator # :nodoc:
deprecate_constant :XOauth2Authenticator
end