Class: StandardId::Web::LogoutController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/standard_id/web/logout_controller.rb

Constant Summary

Constants included from RateLimitHandling

RateLimitHandling::RATE_LIMIT_STORE

Instance Method Summary collapse

Methods included from StandardId::WebAuthentication

#current_account, #current_scope_names, #current_session, #revoke_current_session!

Methods included from ControllerPolicy

all_controllers, authenticated_controllers, public_controllers, register, registry_snapshot, reset_registry!

Instance Method Details

#createObject



15
16
17
18
# File 'app/controllers/standard_id/web/logout_controller.rb', line 15

def create
  revoke_current_session!
  redirect_to params[:redirect_uri] || root_path, notice: "Successfully signed out"
end