File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 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) {
233233 */
234234Service_ . prototype . generateCodeVerifier = function ( ) {
235235 const rawBytes = [ ] ;
236- for ( let i = 0 ; i < 32 ; ++ i ) {
236+ for ( var i = 0 ; i < 32 ; ++ i ) {
237237 const r = Math . floor ( Math . random ( ) * 255 ) ;
238238 rawBytes [ i ] = r ;
239239 }
@@ -541,7 +541,6 @@ Service_.prototype.handleCallback = function(callbackRequest) {
541541 }
542542 validate_ ( {
543543 'Client ID' : this . clientId_ ,
544- 'Client Secret' : this . clientSecret_ ,
545544 'Token URL' : this . tokenUrl_
546545 } ) ;
547546 var payload = {
@@ -1301,7 +1300,7 @@ function decodeJwt_(jwt) {
13011300 * @return {string } Web safe base64 encoded with padding removed.
13021301 */
13031302function encodeUrlSafeBase64NoPadding_ ( value ) {
1304- let encodedValue = Utilities . base64EncodeWebSafe ( value ) ;
1303+ var encodedValue = Utilities . base64EncodeWebSafe ( value ) ;
13051304 encodedValue = encodedValue . slice ( 0 , encodedValue . indexOf ( '=' ) ) ;
13061305 return encodedValue ;
13071306}
You can’t perform that action at this time.
0 commit comments