whole_func_string: 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;
  }
func_code_string: 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;
  }
func_documentation_string: for making context to pass to acl checker