Skip to main content

decode_oauth_request_body

Function decode_oauth_request_body 

Source
pub fn decode_oauth_request_body(
    signed_body: &[u8],
) -> Result<DecodedRequestBody>
Expand description

Decode a Oauth signed request body exactly once (bounded) and derive the full numeric method leaf path (v16 §5.2).

Returns the one DecodedRequestBody that feeds the generated method policy, the dispatch MAC PEP, and dispatch_oauth — there is no second read_message between admission and handler. An undecodable body, a discriminant absent from this schema revision, or a body exceeding the reviewed decode caps is an error, which denies — never a coarser path.