Module: Upkeep::Runtime::WardenObserver

Defined in:
lib/upkeep/runtime.rb

Instance Method Summary collapse

Instance Method Details

#authenticate(*args, **options, &block) ⇒ Object



634
635
636
637
638
# File 'lib/upkeep/runtime.rb', line 634

def authenticate(*args, **options, &block)
  value = super
  Runtime::Ambient.record_warden_user(warden_scope(args, options), value)
  value
end

#user(*args, **options, &block) ⇒ Object



628
629
630
631
632
# File 'lib/upkeep/runtime.rb', line 628

def user(*args, **options, &block)
  value = super
  Runtime::Ambient.record_warden_user(warden_scope(args, options), value)
  value
end