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

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 (resource)
  session[:return_to] || super
end

#casObject



6
7
8
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 6

def cas
  find_user('CAS')
end

#samlObject



9
10
11
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 9

def saml
  find_user('SAML')
end

#sslObject



16
17
18
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 16

def ssl
  find_user('ssl')
end

#windObject



12
13
14
# File 'app/controllers/concerns/cul/omniauth/callbacks.rb', line 12

def wind
  find_user('WIND')
end