Class: OIDCProvider::SessionsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- OIDCProvider::SessionsController
- Defined in:
- app/controllers/oidc_provider/sessions_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#current_token, #oidc_current_account, #require_access_token, #require_authentication, #unauthenticate!
Instance Method Details
#destroy ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/oidc_provider/sessions_controller.rb', line 5 def destroy unauthenticate! redirect_to "/" unless OIDCProvider.after_sign_out_path redirect_to OIDCProvider.after_sign_out_path.respond_to?(:call) ? OIDCProvider.after_sign_out_path.call(params) : OIDCProvider.after_sign_out_path end |