pub fn verify_document(
v: &Value,
tenant: &str,
keys: &TenantKeys,
now: UtcDateTime,
) -> DocumentVerdictExpand description
Verify v for the expected tenant exactly as verify_for_tenant does, check its expiry at
the caller’s now, and recompute its id, returning the three as separate results.
The crate reads no clock: the caller passes now, so the same document, keys and now give the
same verdict wherever it runs.