Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: method signatures for getRandomString method
jamesgeorge0074ce673acfd52
diff --git a/assets/js/oauth.js b/assets/js/oauth.jsindex 0316d374f..5c26832b3 100644--- a/assets/js/oauth.js+++ b/assets/js/oauth.js@@ -73,7 +73,12 @@ const getTokenConfiguration = async endpoint => {// PKCE HELPER FUNCTIONS-// Generate a secure random string using the browser crypto functions+/**+ * Generate a secure random string using the browser crypto functions+ *+ * @returns {Object}+ */+const generateRandomString = () => {const array = new Uint32Array(28);window.crypto.getRandomValues(array);