Module: Omniauth::Rails::ApplicationHelper
- Included in:
- SessionsController
- Defined in:
- app/helpers/omniauth/rails/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#authenticated_email ⇒ Object
7 8 9 10 11 12 13 |
# File 'app/helpers/omniauth/rails/application_helper.rb', line 7 def authenticated_email if authenticated? authentication_session.email elsif Configuration.dev_mode "[not logged in - dev mode]" end end |
#authentication_session ⇒ Object
15 16 17 |
# File 'app/helpers/omniauth/rails/application_helper.rb', line 15 def authentication_session AuthenticationSession.new(session) end |