class Rodauth::FeatureConfiguration

def def_auth_value_method(meth, priv)

def def_auth_value_method(meth, priv)
  define_method(meth) do |v=nil, &block|
    block ||= proc{v}
    @auth.send(:define_method, meth, &block)
    @auth.send(:private, meth) if priv
    @auth.send(:alias_method, meth, meth)
  end
end