Skip to main content

webhook_request_signature_valid

Function webhook_request_signature_valid 

Source
pub fn webhook_request_signature_valid(
    endpoint: &Value,
    request: &HttpRequest,
    payload_json: &str,
) -> bool
Expand description

Verifies a declarative webhook signature and timestamp without exposing secret material.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::dynamic::webhook_request_signature_valid holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::webhook_request_signature_valid("127.0.0.1:8080", todo!(), todo!());