auth/google-oauth.js
/**
 * Store token to disk be used in later program executions.
 *
 * @param {Object} token The token to store to disk.
 *
 */
Store token to disk be used in later program executions.
@param {Object} token The token to store to disk.
Store token to disk be used in later program executions . @param { Object } token The token to store to disk .
function storeToken(token) {
  fs.writeFile(TOKEN_PATH, JSON.stringify(token), (err) => {
    if (err) throw err;
    console.log('Token stored to ' + TOKEN_PATH);
  });
}
function storeToken ( token ) { fs . writeFile ( TOKEN_PATH , JSON . stringify ( token ) , ( err ) => { if ( err ) throw err ; console . log ( 'Token stored to ' + TOKEN_PATH ) ; } ) ; }
Store token to disk be used in later program executions.
Store token to disk be used in later program executions .