code: function ExpressOAuthServer(options) {
    options = options || {};
  
    if (!options.model) {
      throw new InvalidArgumentError('Missing parameter: `model`');
    }
  
    this.useErrorHandler = options.useErrorHandler ? true : false;
    delete options.useErrorHandler;
  
    this.continueMiddleware = options.continueMiddleware ? true : false;
    delete options.continueMiddleware;
  
    this.server = new NodeOAuthServer(options);
  }
docs: Constructor.