pub fn authorize(
token: &[u8],
p: &Policy,
ctx: &Context,
) -> Result<Map<String, Value>, Refusal>Expand description
Whether token authorizes ctx’s caller under p: the token’s claims
when it does, or the first refusal, in macula_ucan’s order.