Class: Warden::Manager

Inherits:
Object
  • Object
show all
Defined in:
lib/immunio/plugins/warden.rb

Instance Method Summary collapse

Instance Method Details

#call_with_immunio(env) ⇒ Object Also known as: call

Force lookup of user info for all requests.



59
60
61
62
63
64
65
# File 'lib/immunio/plugins/warden.rb', line 59

def call_with_immunio(env)
   call_without_immunio(env)
 ensure
   Immunio::Request.time "plugin", "#{Module.nesting[0]}::#{__method__}" do
     env['warden'].user
   end
end