lib/oauth.js
function (req, cb) {
        let criteria = {
            "clientId": req.soajs.inputmaskData.clientId
        };
        let combo = {
            collection: tokenCollectionName,
            condition: criteria
        };
        libProduct.model.removeEntry(req.soajs, combo, function (error, result) {
            let data = {config: req.soajs.config, error: error, code: 404};
            checkIfError(req, cb, data, function () {
                return cb(null, result.result);
            });
        });
    }
function (req, cb) {
        let criteria = {
            "clientId": req.soajs.inputmaskData.clientId
        };
        let combo = {
            collection: tokenCollectionName,
            condition: criteria
        };
        libProduct.model.removeEntry(req.soajs, combo, function (error, result) {
            let data = {config: req.soajs.config, error: error, code: 404};
            checkIfError(req, cb, data, function () {
                return cb(null, result.result);
            });
        });
    }
Delete All tokens of a client