in data/src/main/java/com/microsoft/azure/kusto/data/auth/ConnectionStringBuilder.java [83:125]
private void assignValue(String rawKey, String value) {
KnownKeywords parsedKey = KCSB_KEYWORDS.get(rawKey);
switch (parsedKey) {
case DATA_SOURCE:
this.clusterUrl = value;
break;
case INITIAL_CATALOG:
this.initialCatalog = value;
break;
case FEDERATED_SECURITY:
this.aadFederatedSecurity = Boolean.parseBoolean(value);
break;
case APPLICATION_CLIENT_ID:
this.applicationClientId = value;
break;
case APPLICATION_KEY:
this.applicationKey = value;
break;
case AUTHORITY_ID:
this.aadAuthorityId = value;
break;
case APPLICATION_CERTIFICATE_X5C:
this.sendX509 = Boolean.parseBoolean(value);
break;
case APPLICATION_NAME_FOR_TRACING:
this.applicationNameForTracing = value;
break;
case USER_NAME_FOR_TRACING:
this.userNameForTracing = value;
break;
case USER_ID:
this.usernameHint = value;
this.useUserPromptAuth = true;
break;
case USER_TOKEN:
case APPLICATION_TOKEN:
this.accessToken = value;
break;
default:
throw new IllegalArgumentException("Unexpected keyword error for `" + rawKey + "`. This is a bug - please report it.");
}
}