Sha256: 6e4ad71e562f7383098da22c4d5f2d3f44b2273cce7082d5deb72f4885508777

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

# Common settings of the global session (that apply to all Rails environments)
# are listed here. These may be overidden in the environment-specific section.
common:
  attributes:
    # Signed attributes of the global session
    signed:
    - user
    # Untrusted attributes of the global session
    insecure:
    - account
  # Enable local session integration in order to use the ActionController
  # method #session to access both local AND global session state, with
  # global attributes always taking precedence over local attributes.
  integrated: true
  ephemeral: false
  
# Test/spec runs
test:
  timeout: 15 #minutes
  renew: 5 #minutes before expiration
  cookie:
    name: _session_gbl
    domain: localhost
  #the name of the local authority (optional)
  authority: test
  #which authorities this app will trust
  trust:
  - test

# Development mode
development:
  timeout: 60
  renew: 15
  cookie:
    name: _session_gbl
    domain: localhost
  authority: development
  trust:
  - development
  - production

# Production mode
production:
  timeout: 60
  renew: 15
  cookie:
    name: _session_gbl
    domain: <%= app_domain %>
  authority: production
  trust:
  - production

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
has_global_session-0.9.2 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-0.9.1 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-0.9.0 rails_generators/global_session_config/templates/global_session.yml.erb