Module: FlowChat::Meta::WebhookVerification
- Includes:
- GatewayIdentity
- Included in:
- MessagingGateway, Whatsapp::Gateway::CloudApi
- Defined in:
- lib/flow_chat/meta/webhook_verification.rb
Overview
The GET handshake Meta performs when a webhook URL is registered.
The including gateway must have @config responding to #verify_token, @controller, and must include FlowChat::Meta::GatewayIdentity (directly or
- via another Meta
behavior module) to supply #platform.
What it adds over FlowChat::Meta::Challenge is the gateway's share: instrumenting the outcome and answering through the controller. An application holding Meta's webhooks outside a gateway wants Challenge.
Method Summary
Methods included from GatewayIdentity
#configuration_error_class, #log_tag, #platform, #platform_label