Expand description
axum/tower inbound-verify glue for SNAP BI service signatures.
Provides verify_request — the framework-agnostic SNAP BI verify
function operating on http::request::Parts + body bytes. axum’s Parts
gives clean access to method/headers without consuming the body, so
consumers can extract via axum::body::Bytes (or axum::body::to_bytes)
and then call this function inside an extractor / handler.
A full tower::Layer wrapper is intentionally deferred to a v2.x release;
body extraction in a layered Service requires careful buffer-and-replay
that’s better designed once a production caller exists.
Functions§
- verify_
request - Verify a SNAP BI service request against
client_secret.