in src/main/java/com/google/recaptcha/pld/pld/services/RecaptchaContext.java [78:86]
private RecaptchaAuthMethod detectAuthMethod() {
if (env.defaultCredentialsAreSet()) {
return RecaptchaAuthMethod.DEFAULT_CREDENTIALS;
}
if (env.getApiKey() != null) {
return RecaptchaAuthMethod.API_KEY;
}
return null;
}