class

Api::CurrentUser::PasswordResets::Index

Inherits Shield::Api::CurrentUser::PasswordResets::Index < PublicApi < Shield::PasswordResetPipes < Shield::Api::PasswordResetPipes < Shield::EmailConfirmationPipes < Shield::Api::EmailConfirmationPipes < Shield::LoginPipes < Shield::Api::LoginPipes < Shield::Api::BearerLoginPipes < Shield::PasswordResetHelpers < Shield::Api::PasswordResetHelpers < Shield::EmailConfirmationHelpers < Shield::Api::EmailConfirmationHelpers < Shield::LoginHelpers < Shield::Api::LoginHelpers < Shield::Api::BearerLoginHelpers < Shield::ActionPipes < Shield::ActionHelpers < Lucille::ActionHelpers < Lucky::Paginator::BackendHelpers < Shield::ApiAction < 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, disable_caching, require_logged_in, require_logged_out, pin_login_to_ip_address, enforce_login_idle_timeout, check_authorization] of Symbol
EXPOSURES = [] of Symbol
PARAM_DECLARATIONS = [] of Crystal::Macros::TypeDeclaration
ROUTE_SETTINGS = { prefix: "/api/v0"}
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
pages
Source
password_resets
user
Source

Nested types