Module: Aker::Rack::ConfigurationHelper
- Includes:
- EnvironmentHelper
- Included in:
- Cas::Middleware::LogoutResponder, Form::LoginFormAssetProvider, Form::Middleware::LoginRenderer, Form::Middleware::LoginResponder, Form::Middleware::LogoutResponder, DefaultLogoutResponder, Logout, SessionTimer
- Defined in:
- lib/aker/rack/configuration_helper.rb
Overview
Methods used by Rack middleware for reading configuration data out of the Rack environment.
Instance Method Summary collapse
Methods included from EnvironmentHelper
#authority, #configuration, #interactive?
Instance Method Details
#login_path(env) ⇒ Object
10 11 12 |
# File 'lib/aker/rack/configuration_helper.rb', line 10 def login_path(env) configuration(env).parameters_for(:rack)[:login_path] end |
#logout_path(env) ⇒ Object
14 15 16 |
# File 'lib/aker/rack/configuration_helper.rb', line 14 def logout_path(env) configuration(env).parameters_for(:rack)[:logout_path] end |