docs: function UserMethods(models) {
        this.models = models;
        this.removeEmail = __bind(this.removeEmail, this);
        this.addEmail = __bind(this.addEmail, this);
        this.resetPasswordToken = __bind(this.resetPasswordToken, this);
        this.resetPassword = __bind(this.resetPassword, this);
        this.removeRoles = __bind(this.removeRoles, this);
        this.addRoles = __bind(this.addRoles, this);
        this.removeIdentityFromUser = __bind(this.removeIdentityFromUser, this);
        this.addIdentityToUser = __bind(this.addIdentityToUser, this);
        this._profileImageFromProfile = __bind(this._profileImageFromProfile, this);
        this._displayNameFromProfile = __bind(this._displayNameFromProfile, this);
        this._usernameFromProfile = __bind(this._usernameFromProfile, this);
        this.getOrCreateUserFromProvider = __bind(this.getOrCreateUserFromProvider, this);
        this.create = __bind(this.create, this);
        this.hashPassword = __bind(this.hashPassword, this);
        this.validateUserByUsernameOrEmail = __bind(this.validateUserByUsernameOrEmail, this);
        this.findUserByUsernameOrEmail = __bind(this.findUserByUsernameOrEmail, this);
        this.setPassword = __bind(this.setPassword, this);
        this.destroy = __bind(this.destroy, this);
        this["delete"] = __bind(this["delete"], this);
        this.patch = __bind(this.patch, this);
        this.getByNameOrId = __bind(this.getByNameOrId, this);
        this.getByPrimaryEmail = __bind(this.getByPrimaryEmail, this);
        this.getByName = __bind(this.getByName, this);
        this.lookup = __bind(this.lookup, this);
        this.get = __bind(this.get, this);
        this.getByUsernames = __bind(this.getByUsernames, this);
        this.getByIds = __bind(this.getByIds, this);
        this.all = __bind(this.all, this);
        if (!this.models) {
          throw new Error("models parameter is required");
        }
      }