Module: Upkeep::Runtime::WardenObserver
- Defined in:
- lib/upkeep/runtime.rb
Instance Method Summary collapse
- #authenticate(*args, **options, &block) ⇒ Object
- #authenticate!(*args, **options, &block) ⇒ Object
- #user(*args, **options, &block) ⇒ Object
Instance Method Details
#authenticate(*args, **options, &block) ⇒ Object
707 708 709 710 711 |
# File 'lib/upkeep/runtime.rb', line 707 def authenticate(*args, **, &block) value = super Runtime::Ambient.record_warden_user(warden_authentication_scope(args, ), value) value end |
#authenticate!(*args, **options, &block) ⇒ Object
713 714 715 716 717 |
# File 'lib/upkeep/runtime.rb', line 713 def authenticate!(*args, **, &block) value = super Runtime::Ambient.record_warden_user(warden_authentication_scope(args, ), value) value end |
#user(*args, **options, &block) ⇒ Object
701 702 703 704 705 |
# File 'lib/upkeep/runtime.rb', line 701 def user(*args, **, &block) value = super Runtime::Ambient.record_warden_user(warden_user_scope(args, ), value) value end |