Module: Cul::Omniauth::Callbacks
- Extended by:
- ActiveSupport::Concern
- Included in:
- CallbacksController
- Defined in:
- app/controllers/concerns/cul/omniauth/callbacks.rb
Constant Summary collapse
- OMNIAUTH_REQUEST_KEY =
'omniauth.auth'.freeze
Instance Method Summary collapse
- #affiliations(user, affils) ⇒ Object
- #after_sign_in_path_for(resource) ⇒ Object
- #cas ⇒ Object
- #saml ⇒ Object
- #ssl ⇒ Object
- #wind ⇒ Object
Instance Method Details
#affiliations(user, affils) ⇒ Object
47 48 |
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 47 def affiliations(user, affils) end |
#after_sign_in_path_for(resource) ⇒ Object
50 51 52 |
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 50 def after_sign_in_path_for(resource) session[:return_to] || super end |
#cas ⇒ Object
6 7 8 |
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 6 def cas find_user('CAS') end |
#saml ⇒ Object
9 10 11 |
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 9 def saml find_user('SAML') end |
#ssl ⇒ Object
16 17 18 |
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 16 def ssl find_user('ssl') end |
#wind ⇒ Object
12 13 14 |
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 12 def wind find_user('WIND') end |