docs: function generateAccessToken(req, res, next) {
          /**
           * TODO:
           * https://github.com/jaredhanson/oauth2orize/issues/182
           * oauth2orize only offers the option to forward request information via authInfo object
           *
           * Important: only used for resetting the brute count (access to req.ip)
           */
          req.authInfo = {
              ip: req.ip,
              accessToken: authUtils.getBearerAutorizationToken(req)
          };
  
          return oauthServer.token()(req, res, function (err) {
              if (err && err.status === 400) {
                  err = new common.errors.BadRequestError({err: err, message: err.message});
              }
  
              next(err);
          });
      }