class Rodauth::Auth

def self.configure(&block)

def self.configure(&block)
  @configuration.apply(&block)
end

def self.freeze

def self.freeze
  @features.freeze
  @routes.freeze
  @route_hash.freeze
  super
end

def self.inherited(subclass)

def self.inherited(subclass)
  super
  superclass = self
  subclass.instance_exec do
    @roda_class = superclass.roda_class
    @features = superclass.features.clone
    @routes = superclass.routes.clone
    @route_hash = superclass.route_hash.clone
    @configuration = superclass.configuration.clone
    @configuration.instance_variable_set(:@auth, self)
  end
end