class

CurrentLogin::Destroy

Inherits Shield::CurrentLogin::Destroy < BrowserAction < Lucky::SecureHeaders::SetXSSGuard < Lucky::SecureHeaders::SetSniffGuard < Lucky::SecureHeaders::SetFrameGuard < Shield::PasswordResetPipes < Shield::EmailConfirmationPipes < Shield::LoginPipes < Shield::PasswordResetHelpers < Shield::EmailConfirmationHelpers < Shield::LoginHelpers < Shield::ActionPipes < Shield::ActionHelpers < Lucille::ActionHelpers < Lucky::Paginator::BackendHelpers < Lucky::ProtectFromForgery < Habitat::SettingsHelpers < Habitat::TempConfig < Shield::BrowserAction < Lucky::Action < Lucky::VerifyAcceptsFormat < Lucky::Redirectable < Habitat::SettingsHelpers < Habitat::TempConfig < Lucky::RequestBodyLimit < Lucky::ActionPipes < Lucky::ParamHelpers < Lucky::Renderable < Lucky::Routable < Lucky::Exposable < Lucky::RequestTypeHelpers < Lucky::ActionDelegates < Reference < Object

Constants

AFTER_PIPES = [set_previous_page_url] of Symbol
BEFORE_PIPES = [verify_accepted_format, protect_from_forgery, disable_caching, require_logged_in, require_logged_out, pin_login_to_ip_address, enforce_login_idle_timeout, check_authorization, set_frame_guard_header, set_sniff_guard_header, set_xss_guard_header] of Symbol
EXPOSURES = [] of Symbol
PARAM_DECLARATIONS = [] of Crystal::Macros::TypeDeclaration
ROUTE_SETTINGS = {prefix: ""}
SKIPPED_PIPES = [pin_login_to_ip_address, require_logged_out] of Symbol

Class methods

path(*args, **named_args) : String
path_without_query_params
route(anchor : String | Nil = nil) : RouteHelper
subdomain(value : String) : FormatBuilder
url(*args, **named_args) : String
url_without_query_params
with(anchor : String | Nil = nil) : RouteHelper

Instance methods

authorize?(user : Shield::User) : Bool | Nil
call
do_run_operation_failed(operation)
Source
do_run_operation_succeeded(operation, login)
Source
login
Source
run_operation
Source

Nested types