method
authenticate_by_password
rails latest stable - Class:
ActionMailbox::BaseController
authenticate_by_password()private
No documentation available.
# File actionmailbox/app/controllers/action_mailbox/base_controller.rb, line 22
def authenticate_by_password
if password.present?
http_basic_authenticate_or_request_with name: "actionmailbox", password: password, realm: "Action Mailbox"
else
raise ArgumentError, "Missing required ingress credentials"
end
end