instance method authenticated?

Ruby on Rails 7.0.10

Since v6.0.6 Private

Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

authenticated?()

No documentation comment.

Source
# File actionmailbox/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb, line 63
      def authenticated?
        if key.present?
          Authenticator.new(
            key:       key,
            timestamp: params.require(:timestamp),
            token:     params.require(:token),
            signature: params.require(:signature)
          ).authenticated?
        else
          raise ArgumentError, <<~MESSAGE.squish
            Missing required Mailgun Signing key. Set action_mailbox.mailgun_signing_key in your application's
            encrypted credentials or provide the MAILGUN_INGRESS_SIGNING_KEY environment variable.
          MESSAGE
        end
      end

Defined in actionmailbox/app/controllers/action_mailbox/ingresses/mailgun/inbound_emails_controller.rb line 63 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionMailbox::Ingresses::Mailgun::InboundEmailsController

Type at least 2 characters to search.

↑↓ navigate · open · esc close