lib/mbaasRequest/mbaasRequest.js
function validateAdminParams(params) {
  log.logger.debug({params: params}, "FH-MBAAS-CLIENT: validateAdminParams");
  var missingParam = validateCommonParams(params);

  var expectedAdminMbaasConfig = ["url", "username", "password"];

  if (missingParam) {
    return new Error("Missing Param " + missingParam);
  }

  missingParam = validateParamsPresent(expectedAdminMbaasConfig, params);
  if (missingParam) {
    return new Error("Missing MbaaS Config Param " + missingParam);
  }

  return undefined;
}
function validateAdminParams(params) {
  log.logger.debug({params: params}, "FH-MBAAS-CLIENT: validateAdminParams");
  var missingParam = validateCommonParams(params);

  var expectedAdminMbaasConfig = ["url", "username", "password"];

  if (missingParam) {
    return new Error("Missing Param " + missingParam);
  }

  missingParam = validateParamsPresent(expectedAdminMbaasConfig, params);
  if (missingParam) {
    return new Error("Missing MbaaS Config Param " + missingParam);
  }

  return undefined;
}
function validateAdminParams ( params ) { log . logger . debug ( { params : params } , "FH-MBAAS-CLIENT: validateAdminParams" ) ; var missingParam = validateCommonParams ( params ) ; var expectedAdminMbaasConfig = [ "url" , "username" , "password" ] ; if ( missingParam ) { return new Error ( "Missing Param " + missingParam ) ; } missingParam = validateParamsPresent ( expectedAdminMbaasConfig , params ) ; if ( missingParam ) { return new Error ( "Missing MbaaS Config Param " + missingParam ) ; } return undefined ; }
Administration API Requests To An MbaaS Require The Username And Password Of The MbaaS.
@param params
@returns {*}
@private
Administration API Requests To An MbaaS Require The Username And Password Of The MbaaS .