pub fn decode_message(encoded: &str) -> Result<String, &'static str>Expand description
Reverse encode_deny. Returns the JSON document the encoder
stashed, or an InvalidAuthorizationMessageException-shaped error
when the token isn’t recognizable. Tokens that decode but don’t
look like deny payloads are still returned verbatim — AWS’s
behavior is to hand back whatever JSON it finds rather than try to
interpret it.