Module: Upkeep::Runtime::WardenObserver

Defined in:
lib/upkeep/runtime.rb

Instance Method Summary collapse

Instance Method Details

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



659
660
661
662
663
# File 'lib/upkeep/runtime.rb', line 659

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

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



653
654
655
656
657
# File 'lib/upkeep/runtime.rb', line 653

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