class EmailConfirmations::Create

Included Modules

Defined in:

actions/email_confirmations/create.cr

Constant Summary

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_in] of Symbol

Class Method Summary

Instance Method Summary

Instance methods inherited from class BrowserAction

authorize?(user : User) : Bool
authorize?(user : Shield::User) : Bool
authorize?
, check_authorization check_authorization, current_login current_login, current_login? : Login | Nil current_login?, current_user current_user, current_user? : User | Nil current_user?, disable_caching disable_caching, do_check_authorization_failed do_check_authorization_failed, do_enforce_login_idle_timeout_failed do_enforce_login_idle_timeout_failed, do_pin_email_confirmation_to_ip_address_failed do_pin_email_confirmation_to_ip_address_failed, do_pin_login_to_ip_address_failed do_pin_login_to_ip_address_failed, do_pin_password_reset_to_ip_address_failed do_pin_password_reset_to_ip_address_failed, do_require_logged_in_failed do_require_logged_in_failed, do_require_logged_out_failed do_require_logged_out_failed, enforce_login_idle_timeout enforce_login_idle_timeout, frame_guard_value : String frame_guard_value, logged_in? : Bool logged_in?, logged_out? : Bool logged_out?, pin_email_confirmation_to_ip_address pin_email_confirmation_to_ip_address, pin_login_to_ip_address pin_login_to_ip_address, pin_password_reset_to_ip_address pin_password_reset_to_ip_address, previous_page_url previous_page_url, previous_page_url? : String | Nil previous_page_url?, redirect_back(*, fallback : Lucky::Action.class, status : HTTP::Status, allow_external = false)
redirect_back(*, fallback : Lucky::RouteHelper, status : HTTP::Status, allow_external = false)
redirect_back(*, fallback : String, status : Int32 = 302, allow_external : Bool = false)
redirect_back
, remote_ip : Socket::IPAddress remote_ip, remote_ip? : Socket::IPAddress | Nil remote_ip?, require_logged_in require_logged_in, require_logged_out require_logged_out, return_url return_url, return_url? : String | Nil return_url?, set_no_referrer_policy set_no_referrer_policy, set_previous_page_url set_previous_page_url

Class methods inherited from class BrowserAction

_accepted_formats _accepted_formats

Class Method Detail

def self.path(*args, **named_args) : String #

def self.path_without_query_params : String #

def self.route(anchor : String | Nil = nil) : Lucky::RouteHelper #

def self.url(*args, **named_args) : String #

def self.url_without_query_params : String #

def self.with(anchor : String | Nil = nil) : Lucky::RouteHelper #

Instance Method Detail

def call #

def do_run_operation_failed(operation) #

[View source]
def do_run_operation_succeeded(operation, email_confirmation) #

[View source]
def run_operation #

[View source]