docs: public static ExpiringCode getExpiringCode(
              ExpiringCodeStore codeStore,
              String userId,
              String email,
              String clientId,
              String redirectUri,
              ExpiringCodeType intent,
              String currentZoneId) {
          Assert.notNull(codeStore, "codeStore must not be null");
          Assert.notNull(userId, "userId must not be null");
          Assert.notNull(email, "email must not be null");
          Assert.notNull(intent, "intent must not be null");
  
          Map<String, String> codeData = new HashMap<>();
          codeData.put("user_id", userId);
          codeData.put("email", email);
          codeData.put("client_id", clientId);
          if (redirectUri != null) {
              codeData.put("redirect_uri", redirectUri);
          }
          String codeDataString = JsonUtils.writeValueAsString(codeData);
  
          Timestamp expiresAt = new Timestamp(System.currentTimeMillis() + (60 * 60 * 1000)); // 1 hour
          return codeStore.generateCode(
                  codeDataString,
                  expiresAt,
                  intent.name(),
                  currentZoneId);
      }