File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ Service_.prototype.setCodeVerififer = function(codeVerifier) {
233
233
*/
234
234
Service_ . prototype . generateCodeVerifier = function ( ) {
235
235
const rawBytes = [ ] ;
236
- for ( let i = 0 ; i < 32 ; ++ i ) {
236
+ for ( var i = 0 ; i < 32 ; ++ i ) {
237
237
const r = Math . floor ( Math . random ( ) * 255 ) ;
238
238
rawBytes [ i ] = r ;
239
239
}
@@ -541,7 +541,6 @@ Service_.prototype.handleCallback = function(callbackRequest) {
541
541
}
542
542
validate_ ( {
543
543
'Client ID' : this . clientId_ ,
544
- 'Client Secret' : this . clientSecret_ ,
545
544
'Token URL' : this . tokenUrl_
546
545
} ) ;
547
546
var payload = {
@@ -1301,7 +1300,7 @@ function decodeJwt_(jwt) {
1301
1300
* @return {string } Web safe base64 encoded with padding removed.
1302
1301
*/
1303
1302
function encodeUrlSafeBase64NoPadding_ ( value ) {
1304
- let encodedValue = Utilities . base64EncodeWebSafe ( value ) ;
1303
+ var encodedValue = Utilities . base64EncodeWebSafe ( value ) ;
1305
1304
encodedValue = encodedValue . slice ( 0 , encodedValue . indexOf ( '=' ) ) ;
1306
1305
return encodedValue ;
1307
1306
}
You can’t perform that action at this time.
0 commit comments