index.js
function (callback) {
    fs.readFile(clientSecretPath, function processClientSecrets(err, content) {
        if (err) {
            debug('Error loading client secret file: ' + err);
            return callback(err);
        } else {
            credentials = JSON.parse(content);
            return callback();
        }
    });
}
function (callback) {
    fs.readFile(clientSecretPath, function processClientSecrets(err, content) {
        if (err) {
            debug('Error loading client secret file: ' + err);
            return callback(err);
        } else {
            credentials = JSON.parse(content);
            return callback();
        }
    });
}
function ( callback ) { fs . readFile ( clientSecretPath , function processClientSecrets ( err , content ) { if ( err ) { debug ( 'Error loading client secret file: ' + err ) ; return callback ( err ) ; } else { credentials = JSON . parse ( content ) ; return callback ( ) ; } } ) ; }
Load client secrets from a local file.
Load client secrets from a local file .