class CurrentUser::BearerLogins::New
- CurrentUser::BearerLogins::New
- BrowserAction
- Lucky::Action
- Reference
- Object
Included Modules
- Shield::CurrentUser::BearerLogins::New
Defined in:
actions/current_user/bearer_logins/new.crConstant 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_out] of Symbol
Class Method Summary
- .path(*args, **named_args) : String
- .path_without_query_params : String
- .route(anchor : String | Nil = nil) : Lucky::RouteHelper
- .url(*args, **named_args) : String
- .url_without_query_params : String
- .with(anchor : String | Nil = nil) : Lucky::RouteHelper
Instance Method Summary
Instance methods inherited from class BrowserAction
authorize?(user : User) : Boolauthorize?(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