docs: function OauthAuthMethods(models) {
        this.models = models;
        this.exchangeRefreshTokenForAccessToken = __bind(this.exchangeRefreshTokenForAccessToken, this);
        this.exchangeAuthorizationCodeForAccessToken = __bind(this.exchangeAuthorizationCodeForAccessToken, this);
        this.createTokenForUserId = __bind(this.createTokenForUserId, this);
        this.createOrReuseTokenForUserId = __bind(this.createOrReuseTokenForUserId, this);
        this.createAccessGrant = __bind(this.createAccessGrant, this);
        this.validate = __bind(this.validate, this);
        this.appForClientId = __bind(this.appForClientId, this);
        this.currentDateAndSeconds = __bind(this.currentDateAndSeconds, this);
        if (!this.models) {
          throw new Error("models parameter is required");
        }
      }