feature/IO-2282-VSSTA-Integration: - doc blocks / cleanup

This commit is contained in:
Dave Richer
2025-04-15 13:05:42 -04:00
parent 0b7a23d555
commit 6035d94404
3 changed files with 32 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
/**
* @description Converts a string to a base64url encoded string.
* @param str
* @returns {string}
*/
const base64UrlEncode = (str) =>
Buffer.from(str).toString("base64").replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");