Sha256: c803789318200db80e3dd0672698d74058fcea95b24af4cc67e1b5f590ef9d69
Contents?: true
Size: 437 Bytes
Versions: 5
Compression:
Stored size: 437 Bytes
Contents
module AuthN def self.config @config ||= Config.new Config.defaults end class Config < AltStruct @@defaults = { password_digest_method: :password_digest, account_klass: "Account", login_password_key: :password, model_id_method: :id, model_critera_method: :where, session_key_function: ->(klass) { :"session_#{klass}_id" } } def self.defaults @@defaults end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
authn-3.8.4 | lib/authn/config.rb |
authn-3.7.4 | lib/authn/config.rb |
authn-3.7.2 | lib/authn/config.rb |
authn-3.5.0 | lib/authn/config.rb |
authn-3.1.4 | lib/authn/config.rb |