global
def _view(meth, page)
def _view(meth, page) auth = self auth_template_path = template_path(page) scope.instance_exec do template_opts = find_template(parse_template_opts(page, :locals=>{:rodauth=>auth})) unless File.file?(template_path(template_opts)) template_opts[:path] = auth_template_path end send(meth, template_opts) end end
Instance Methods
- # _account_from_login
- # _account_from_reset_password_key
- # _account_from_session
- # _account_from_unlock_key
- # _account_from_verify_account_key
- # _new_account
- # _otp
- # _otp_add_key
- # _otp_key
- # _otp_tmp_key
- # _recovery_codes
- # _sms
- # _two_factor_auth_required_redirect
- # _view
- # _view
- # account_activity_ds
- # account_ds
- # account_expired?
- # account_expired_at
- # account_from_key
- # account_from_login
- # account_from_reset_password_key
- # account_from_reset_password_key
- # account_from_session
- # account_from_unlock_key
- # account_from_verify_account_key
- # account_id
- # account_in_unverified_grace_period?
- # account_initial_status_value
- # account_initial_status_value
- # account_lockouts_ds
- # account_login_failures_ds
- # account_model
- # account_password_hash_column
- # account_session_status_filter
- # account_session_status_filter
- # active_remember_key_ds
- # add_previous_password_hash
- # add_recovery_code
- # add_recovery_codes
- # add_remember_key
- # after_change_login
- # after_close_account
- # after_close_account
- # after_close_account
- # after_close_account
- # after_close_account
- # after_close_account
- # after_close_account
- # after_close_account
- # after_close_account
- # after_confirm_password
- # after_create_account
- # after_create_account
- # after_create_account
- # after_create_account
- # after_login
- # after_login
- # after_login_failure
- # after_login_failure
- # after_logout
- # after_reset_password
- # already_logged_in
- # auth_class_eval
- # authenticated?
- # authenticated?
- # before_change_login_route
- # before_change_password_route
- # before_login_attempt
- # before_login_attempt
- # before_logout
- # before_rodauth
- # before_view_recovery_codes
- # button
- # can_add_recovery_codes?
- # catch_error
- # change_login
- # change_login_notice_flash
- # change_login_requires_password?
- # change_password_requires_password?
- # check_account_expiration
- # check_already_logged_in
- # check_password_change_allowed
- # check_session_expiration
- # check_single_session
- # clear_cached_otp
- # clear_invalid_login_attempts
- # clear_remembered_session_key
- # clear_session
- # clear_session
- # close_account
- # close_account_requires_password?
- # confirm_password
- # confirm_password_redirect
- # convert_timestamp
- # create_account_autologin?
- # create_account_autologin?
- # create_account_link
- # create_account_notice_flash
- # create_email
- # create_reset_password_email
- # create_reset_password_key
- # create_unlock_account_email
- # create_verify_account_email
- # create_verify_account_key
- # csrf_tag
- # currently_active_session?
- # db
- # delete_account
- # delete_account_on_close?
- # disable_remember_login
- # email_from
- # email_to
- # expire_session
- # features
- # field_error
- # flash
- # forget_login
- # function_name
- # generate_remember_key_value
- # generate_reset_password_key_value
- # generate_unlock_account_key
- # generate_verify_account_key_value
- # get_activity_timestamp
- # get_password_changed_at
- # get_password_reset_key
- # get_remember_key
- # get_unlock_account_key
- # get_verify_account_key
- # include_success_messages?
- # initialize
- # invalid_login_attempted
- # json_request?
- # json_response
- # jwt_secret
- # jwt_token
- # last_account_activity_at
- # last_account_login_at
- # load_memory
- # locked_out?
- # logged_in_via_remember_key?
- # login_confirm_label
- # login_does_not_meet_requirements_message
- # login_form_footer
- # login_meets_email_requirements?
- # login_meets_length_requirements?
- # login_meets_requirements?
- # login_required
- # login_too_short_message
- # logout
- # modifications_require_password?
- # new_account
- # new_account
- # new_recovery_code
- # no_longer_active_session
- # open_account?
- # open_account?
- # otp_add_key
- # otp_add_key
- # otp_auth_form_footer
- # otp_auth_form_footer
- # otp_auth_form_footer
- # otp_exists?
- # otp_issuer
- # otp_key_ds
- # otp_locked_out?
- # otp_lockout_error_flash
- # otp_lockout_error_flash
- # otp_lockout_error_flash
- # otp_lockout_redirect
- # otp_lockout_redirect
- # otp_lockout_redirect
- # otp_new_secret
- # otp_provisioning_name
- # otp_provisioning_uri
- # otp_qr_code
- # otp_record_authentication_failure
- # otp_remove
- # otp_remove
- # otp_remove
- # otp_remove_auth_failures
- # otp_tmp_key
- # otp_update_last_use
- # otp_valid_code?
- # otp_valid_key?
- # param
- # param_or_nil
- # password_confirm_label
- # password_does_not_meet_requirements_message
- # password_doesnt_match_previous_password?
- # password_expiration_ds
- # password_expired?
- # password_has_enough_character_groups?
- # password_has_no_invalid_pattern?
- # password_hash
- # password_hash_cost
- # password_hash_cost
- # password_hash_ds
- # password_match?
- # password_match?
- # password_meets_length_requirements?
- # password_meets_requirements?
- # password_meets_requirements?
- # password_meets_requirements?
- # password_not_in_dictionary?
- # password_not_too_many_repeating_characters?
- # password_recently_entered?
- # password_reset_ds
- # password_too_many_repeating_characters_message
- # password_too_short_message
- # post_configure
- # post_configure
- # post_configure
- # previous_password_ds
- # raises_uniqueness_violation?
- # random_key
- # random_key
- # recovery_code_match?
- # recovery_codes_ds
- # recovery_codes_primary?
- # recovery_codes_remove
- # redirect
- # redirect
- # remember_key_ds
- # remember_login
- # remove_lockout_metadata
- # remove_remember_key
- # remove_reset_password_key
- # remove_verify_account_key
- # render
- # request
- # require_account
- # require_account_session
- # require_authentication
- # require_authentication
- # require_current_password
- # require_login
- # require_otp_setup
- # require_sms_available
- # require_sms_not_setup
- # require_sms_setup
- # require_two_factor_authenticated
- # require_two_factor_not_authenticated
- # require_two_factor_setup
- # reset_password_email_body
- # reset_password_email_link
- # reset_password_key_insert_hash
- # reset_single_session_key
- # response
- # retry_on_uniqueness_violation
- # return_json_response
- # route!
- # save_account
- # send_reset_password_email
- # send_unlock_account_email
- # send_verify_account_email
- # session
- # session
- # session_expiration_redirect
- # session_value
- # set_deadline_value
- # set_deadline_values?
- # set_error_flash
- # set_error_flash
- # set_expired
- # set_field_error
- # set_field_error
- # set_jwt
- # set_jwt_token
- # set_last_password_entry
- # set_new_account_password
- # set_notice_flash
- # set_notice_flash
- # set_notice_now_flash
- # set_notice_now_flash
- # set_password
- # set_password
- # set_password
- # set_redirect_error_flash
- # set_redirect_error_flash
- # set_session_value
- # set_session_value
- # set_title
- # setup_account_verification
- # show_lockout_page
- # single_session_ds
- # skip_status_checks?
- # skip_status_checks?
- # sms_auth_message
- # sms_available?
- # sms_code
- # sms_code_issued_at
- # sms_code_match?
- # sms_codes_primary?
- # sms_confirm
- # sms_confirm
- # sms_confirm_failure
- # sms_confirm_message
- # sms_confirmation_match?
- # sms_current_auth?
- # sms_disable
- # sms_disable
- # sms_ds
- # sms_failures
- # sms_locked_out?
- # sms_lockout_redirect
- # sms_needs_confirmation?
- # sms_new_auth_code
- # sms_new_confirm_code
- # sms_normalize_phone
- # sms_phone
- # sms_record_failure
- # sms_remove_failures
- # sms_send
- # sms_send_auth_code
- # sms_send_confirm_code
- # sms_set_code
- # sms_setup
- # sms_setup?
- # sms_valid_phone?
- # split_token
- # template_path
- # throw_error
- # timing_safe_eql?
- # token_link
- # transaction
- # two_factor_auth_fallback_redirect
- # two_factor_auth_fallback_redirect
- # two_factor_auth_fallback_redirect
- # two_factor_auth_required_redirect
- # two_factor_auth_required_redirect
- # two_factor_auth_required_redirect
- # two_factor_auth_required_redirect
- # two_factor_authenticate
- # two_factor_authenticated?
- # two_factor_authentication_setup?
- # two_factor_authentication_setup?
- # two_factor_authentication_setup?
- # two_factor_authentication_setup?
- # two_factor_modifications_require_password?
- # two_factor_need_setup_redirect
- # two_factor_need_setup_redirect
- # two_factor_need_setup_redirect
- # two_factor_password_match?
- # two_factor_remove
- # two_factor_remove
- # two_factor_remove
- # two_factor_remove
- # two_factor_remove_auth_failures
- # two_factor_remove_auth_failures
- # two_factor_remove_auth_failures
- # two_factor_remove_session
- # two_factor_update_session
- # unique_constraint_violation_class
- # unlock_account
- # unlock_account_email_body
- # unlock_account_email_link
- # update_account
- # update_activity
- # update_hash_ds
- # update_last_activity
- # update_last_login
- # update_password_changed_at
- # update_session
- # update_session
- # update_session
- # update_session
- # update_session
- # update_session
- # update_single_session_key
- # update_sms
- # use_database_authentication_functions?
- # use_date_arithmetic?
- # use_date_arithmetic?
- # use_date_arithmetic?
- # use_date_arithmetic?
- # use_date_arithmetic?
- # use_date_arithmetic?
- # uses_two_factor_authentication?
- # verified_account?
- # verify_account
- # verify_account_check_already_logged_in
- # verify_account_check_already_logged_in
- # verify_account_ds
- # verify_account_email_body
- # verify_account_email_link
- # verify_account_email_resend
- # verify_account_key_insert_hash
- # view