pub fn concat_struct_base64url_decode(
encoded_string: String,
) -> Result<String, String>Expand description
Decodes a Base64 URL-safe encoded string into a concatenated string.
Intended for use with a Base64 URL-safe encoded string
generated from the function
concat_struct_base64url_encode.
§Arguments
encoded_string: The Base64 URL-safe encoded string to decode.
§Returns
Result<String, String>: A Result containing the decoded string or an error if decoding fails.
§Errors
- Returns a
base64::DecodeErrorif the input string is not valid Base64 URL-safe encoded.