pub fn decode<T: ?Sized + AsRef<[u8]>>(
base64_url: &T,
) -> Result<Vec<u8>, DecodeError>Expand description
decode takes in a string and tries to decode it into a Vector of bytes. It returns a base64::DecodeError if string
is not valid Base64URL.