private void loadConfig()

in src/main/java/com/google/recaptcha/pld/pld/services/RecaptchaContext.java [88:98]


  private void loadConfig() throws IllegalArgumentException {
    RecaptchaAuthMethod authMethod = detectAuthMethod();

    RecaptchaConfig loadedConfig =
        new RecaptchaConfig.RecaptchaConfigBuilder()
            .withAuthMethod(authMethod)
            .withApiKey(env.getApiKey())
            .withProjectId(env.getProjectId())
            .build();
    this.config = loadedConfig;
  }