LemonGateway. Transports. Webhook. Request
(lemon_gateway v0.1.0)
View Source
Request parsing, authentication, and metadata helpers for the webhook transport.
Summary
Functions
@spec authorize_request(Plug.Conn.t(), map(), map(), map()) :: :ok | {:error, :unauthorized}
@spec request_metadata(Plug.Conn.t()) :: map()
@spec resolve_callback_wait_timeout_ms(map(), map(), pos_integer()) :: pos_integer()