code: function(userId, extraData = {}) {
      if (!this.usingApiSecret || this.apiKey == null) {
        throw new errors.FeedError(
          'In order to create user tokens you need to initialize the API client with your API Secret',
        );
      }
      return signing.JWTUserSessionToken(this.apiSecret, userId, extraData, {
        noTimestamp: !this.expireTokens,
      });
    }
docs: Deprecated: use createUserToken instead
  @param {string} userId
  @param {object} extraData