docs: function Strategy(options, verify) {
    if (typeof options === 'function') {
      verify = options;
      options = {};
    }
  
    if (typeof verify !== 'function') {
      throw new TypeError('JsonStrategy requires a verify callback');
    }
  
    this._usernameProp = options.usernameProp || 'username';
    this._passwordProp = options.passwordProp || 'password';
  
    passport.Strategy.call(this);
    this.name = 'json';
    this._verify = verify;
    this._passReqToCallback = options.passReqToCallback;
    this._allowEmptyPasswords = !!options.allowEmptyPasswords;
  }