You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function parseParms(str) {
var pieces = str.split("&"), data = {}, i, parts;
// process each query pair
for (i = 0; i < pieces.length; i++) {
parts = pieces[i].split("=");
if (parts.length < 2) {
parts.push("");
}
data[decodeURIComponent(parts[0])] = decodeURIComponent(parts[1]);
}
return data;
}
console.log(parseParms("aaa=1&bbb=99&name=Bob"));
Example:
http://scottdesapio.com/VBScriptOAuth/
Alternatively, consider using HTML 5 worker object:
https://www.w3schools.com/html/html5_webworkers.asp
Other options:
https://tests4geeks.com/oauth2-javascript-tutorial/
https://www.codeproject.com/Articles/579564/JavaScript-oAuth
https://github.com/oauth-io/oauth-js
https://docs.microsoft.com/en-us/outlook/rest/javascript-tutorial
https://tools.chilkat.io/msgraph_oauth2.asp
The text was updated successfully, but these errors were encountered: