Class: Ssomg::AuthController
- Inherits:
-
RootController
- Object
- ActionController::Base
- RootController
- Ssomg::AuthController
- Defined in:
- lib/ssomg/controllers/auth_controller.rb
Instance Method Summary collapse
Instance Method Details
#login ⇒ Object
7 8 9 10 |
# File 'lib/ssomg/controllers/auth_controller.rb', line 7 def login ["ssomg_meta" ] = { :value => "/", :secure => Rails.env.production?, :httponly => true } go_to_provider end |
#logout ⇒ Object
12 13 14 15 16 |
# File 'lib/ssomg/controllers/auth_controller.rb', line 12 def logout redirect_to ENV["SSO_HOST"] + "/auth/logout" and return end |
#verify ⇒ Object
3 4 5 |
# File 'lib/ssomg/controllers/auth_controller.rb', line 3 def verify verify_token end |