docs: function authenticate(options) {
          options = options || {};
  
          var authenticators = [
              passport.authenticate(['copress-oauth2-bearer', 'copress-oauth2-mac'],
                  options)];
          if (options.scopes || options.scope) {
              authenticators.push(scopeValidator(options));
          }
          authenticators.push(oauth2Provider.errorHandler());
          return authenticators;
      }