class Rodauth::Auth

  1. lib/rodauth.rb
Superclass: Object

Attributes

Public Class methods

configure(&block)
[show source]
    # File lib/rodauth.rb
392 def self.configure(&block)
393   @configuration.apply(&block)
394 end
freeze()
[show source]
    # File lib/rodauth.rb
396 def self.freeze
397   @features.freeze
398   @routes.freeze
399   @route_hash.freeze
400   super
401 end
inherited(subclass)
[show source]
    # File lib/rodauth.rb
379 def self.inherited(subclass)
380   super
381   superclass = self
382   subclass.instance_exec do
383     @roda_class = superclass.roda_class
384     @features = superclass.features.clone
385     @routes = superclass.routes.clone
386     @route_hash = superclass.route_hash.clone
387     @configuration = superclass.configuration.clone
388     @configuration.instance_variable_set(:@auth, self)
389   end
390 end