risingwave_frontend::webhook::utils

Function verify_signature

source
pub(crate) async fn verify_signature(
    headers_jsonb: JsonbVal,
    secret: &str,
    payload: &[u8],
    signature_expr: ExprNode,
) -> Result<bool, WebhookError>