module Net::IMAP::SASL

def self.add_authenticator(...) authenticators.add_authenticator(...) end

Delegates to ::authenticators. See Authenticators#add_authenticator.
def self.add_authenticator(...) authenticators.add_authenticator(...) end

def self.authenticator(*args, registry: authenticators, **kwargs, &block)

forwarded to to registry.new.
+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

Returns the default global SASL::Authenticators instance.
def self.authenticators; @authenticators ||= Authenticators.new end

def saslprep(string, **opts)

See Net::IMAP::StringPrep::SASLprep#saslprep.
def saslprep(string, **opts)
  Net::IMAP::StringPrep::SASLprep.saslprep(string, **opts)
end