class PasswordResets::New

Included Modules

Defined in:

actions/password_resets/new.cr

Constant Summary

AFTER_PIPES = [] of Symbol
BEFORE_PIPES = [set_turbolinks_location_header_from_session, verify_accepted_format, protect_from_forgery, set_floc_guard_header, test_backdoor, require_sign_in, redirect_signed_in_users, require_valid_password_reset_token] of Symbol
EXPOSURES = [current_user] of Symbol
PARAM_DECLARATIONS = [token : String] of Crystal::Macros::TypeDeclaration
ROUTE_SETTINGS = {prefix: ""}
SKIPPED_PIPES = [require_sign_in] of Symbol

Class Method Summary

Instance Method Summary

Instance methods inherited from module Auth::PasswordResets::RequireToken

token : String token, user : User user

Instance methods inherited from module Auth::AllowGuests

current_user : User | Nil current_user

Instance methods inherited from module Auth::RedirectSignedInUsers

current_user current_user

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(user_id) #

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

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

def self.url_without_query_params(user_id) #

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

Instance Method Detail

def call #

def token : String #

def user_id : String #