base64_decode_bytes

Function base64_decode_bytes 

Source
pub fn base64_decode_bytes(text: &str) -> Result<Vec<u8>, String>
Expand description

The same decoder, stopping before the text.

base64_decode is the primitive a Beck program calls and a Str is UTF-8, so it ends in a validation. A JOSE signature segment is not text and never will be, so the runtime’s OIDC verifier reads the bytes: this is the shared half rather than a second decoder beside it.