Convenience method to access the rack request params :api: public
# File lib/warden/mixins/common.rb, line 30 def params request.params end
Alias :session to :raw_session since the former will be user API for storing scoped data.
Convenience method to access the rack request. :api: public
# File lib/warden/mixins/common.rb, line 16 def request @request ||= Rack::Request.new(@env) end
Resets the session. By using this non-hash like sessions can be cleared by overwriting this method in a plugin @api overwritable
# File lib/warden/mixins/common.rb, line 37 def reset_session! raw_session.clear end
Convinience method to access the session :api: public
# File lib/warden/mixins/common.rb, line 7 def session env['rack.session'] end
Generated with the Darkfish Rdoc Generator 2.