Skip to content

Commit

Permalink
chore: Update dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Dec 2, 2022
1 parent 2d0985f commit 67cae40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dist/OAuth2.gs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Service_.prototype.setCodeVerififer = function(codeVerifier) {
*/
Service_.prototype.generateCodeVerifier = function() {
const rawBytes = [];
for (let i = 0; i < 32; ++i) {
for (var i = 0; i < 32; ++i) {
const r = Math.floor(Math.random() * 255);
rawBytes[i] = r;
}
Expand Down Expand Up @@ -541,7 +541,6 @@ Service_.prototype.handleCallback = function(callbackRequest) {
}
validate_({
'Client ID': this.clientId_,
'Client Secret': this.clientSecret_,
'Token URL': this.tokenUrl_
});
var payload = {
Expand Down Expand Up @@ -1301,7 +1300,7 @@ function decodeJwt_(jwt) {
* @return {string} Web safe base64 encoded with padding removed.
*/
function encodeUrlSafeBase64NoPadding_(value) {
let encodedValue = Utilities.base64EncodeWebSafe(value);
var encodedValue = Utilities.base64EncodeWebSafe(value);
encodedValue = encodedValue.slice(0, encodedValue.indexOf('='));
return encodedValue;
}
Expand Down

0 comments on commit 67cae40

Please sign in to comment.