function authCtx(req, res) {
  let ctx = {
    accessToken: null,
    remotingContext: { req: req, res: res }
  }
  // populate accessToken
  if (req && req.accessToken) ctx.accessToken = req.accessToken;

  return ctx;
}
function authCtx(req, res) {
  let ctx = {
    accessToken: null,
    remotingContext: { req: req, res: res }
  }
  
  if (req && req.accessToken) ctx.accessToken = req.accessToken;

  return ctx;
}
function authCtx ( req , res ) { let ctx = { accessToken : null , remotingContext : { req : req , res : res } } // populate accessToken if ( req && req . accessToken ) ctx . accessToken = req . accessToken ; return ctx ; }
for making context to pass to acl checker
for making context to pass to acl checker