Class: Stormpath::Rails::IdSiteCallback::NewController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Stormpath::Rails::IdSiteCallback::NewController
- Defined in:
- app/controllers/stormpath/rails/id_site_callback/new_controller.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'app/controllers/stormpath/rails/id_site_callback/new_controller.rb', line 6 def call begin if id_site_result.status == 'LOGOUT' TokenAndCookiesCleaner.new().remove else login_the_account end respond_with_success rescue Stormpath::Error, JWT::VerificationError => error respond_with_error(error) end end |