base64UrlDecode
base64UrlDecode(
str):Uint8Array
Defined in: packages/core/src/crypto.ts:27
Decodes a base64url string back to a byte array.
Parameters
Section titled “Parameters”string
Base64url-encoded string (with or without padding).
Returns
Section titled “Returns”Uint8Array
Decoded bytes.
Throws
Section titled “Throws”OidcError with code INVALID_JWT if the input is not valid base64url.