module Net::IMAP::SASL
def self.add_authenticator(...) authenticators.add_authenticator(...) end
def self.add_authenticator(...) authenticators.add_authenticator(...) end
def self.authenticator(*args, registry: authenticators, **kwargs, &block)
+registry+ defaults to SASL.authenticators. All other arguments are
Creates a new SASL authenticator, using SASL::Authenticators#new.
def self.authenticator(*args, registry: authenticators, **kwargs, &block) registry.new(*args, **kwargs, &block) end
def self.authenticators; @authenticators ||= Authenticators.new end
def self.authenticators; @authenticators ||= Authenticators.new end
def saslprep(string, **opts)
def saslprep(string, **opts) Net::IMAP::StringPrep::SASLprep.saslprep(string, **opts) end