Module: SignIn::Instrumentation
- Extended by:
- ActiveSupport::Concern
- Included in:
- ApplicationController
- Defined in:
- app/controllers/concerns/sign_in/instrumentation.rb
Instance Method Summary collapse
- #append_info_to_payload(payload) ⇒ Object private
- #session ⇒ Object private
Instance Method Details
#append_info_to_payload(payload) ⇒ Object (private)
9 10 11 12 13 |
# File 'app/controllers/concerns/sign_in/instrumentation.rb', line 9 def append_info_to_payload(payload) super payload[:session] = session if @access_token.present? payload[:user_uuid] = current_user.uuid if current_user.present? end |
#session ⇒ Object (private)
15 16 17 |
# File 'app/controllers/concerns/sign_in/instrumentation.rb', line 15 def session @access_token.session_handle end |