Sha256: 7126fb5ee0cc4b2b7b14c2f6b5b4581c6c93bb8947549c9a1c708f2cd290abe2
Contents?: true
Size: 1.23 KB
Versions: 4
Compression:
Stored size: 1.23 KB
Contents
require 'active_support/configurable' require 'casino/engine' module CASino include ActiveSupport::Configurable defaults = { authenticators: HashWithIndifferentAccess.new, require_service_rules: false, logger: Rails.logger, frontend: HashWithIndifferentAccess.new( sso_name: 'CASino', footer_text: 'Powered by <a href="http://rbcas.com/">CASino</a>' ), implementors: HashWithIndifferentAccess.new( login_ticket: nil, proxy_granting_ticket: nil, proxy_ticket: nil, service_rule: nil, service_ticket: nil, ticket_granting_ticket: nil, two_factor_authenticator: nil, user: nil ), auth_token_ticket: { lifetime: 60 }, login_ticket: { lifetime: 600 }, ticket_granting_ticket: { lifetime: 86400, lifetime_long_term: 864000 }, service_ticket: { lifetime_unconsumed: 300, lifetime_consumed: 86400, single_sign_out_notification: { timeout: 5 } }, proxy_ticket: { lifetime_unconsumed: 300, lifetime_consumed: 86400 }, two_factor_authenticator: { timeout: 180, lifetime_inactive: 300, drift: 30 } } self.config.merge! defaults.deep_dup end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
casino-4.1.2 | lib/casino.rb |
casino-4.1.1 | lib/casino.rb |
casino-4.1.0 | lib/casino.rb |
casino-4.0.3 | lib/casino.rb |