class Rodauth::FeatureConfiguration

def def_configuration_methods(feature)

def def_configuration_methods(feature)
  private_methods = feature.private_instance_methods.map(&:to_sym)
  priv = proc{|m| private_methods.include?(m)}
  feature.auth_methods.each{|m| def_auth_method(m, priv[m])}
  feature.auth_value_methods.each{|m| def_auth_value_method(m, priv[m])}
  feature.auth_private_methods.each{|m| def_auth_private_method(m)}
end