Added NoAuth authenticationType for Kusto (#14375)

* Added NoAuth authenticationType for Kusto

* Added SqlLogin to Kusto as an AuthType. Renamed NoAuth to None
This commit is contained in:
Justin M
2021-02-26 12:28:43 -08:00
committed by GitHub
parent 862d0d88fa
commit c6c65000ca
4 changed files with 24 additions and 2 deletions

View File

@@ -91,6 +91,9 @@ export class ConnectionStore {
});
} else if (credentialsItem.authenticationType === 'AzureMFA' || credentialsItem.authenticationType === 'dstsAuth' && credentialsItem.azureAccount) {
return Promise.resolve({ profile: credentialsItem, savedCred: true });
} else if (credentialsItem.authenticationType === 'None') {
// Kusto supports no authentication
return Promise.resolve({ profile: credentialsItem, savedCred: true });
} else {
// No need to look up the password
return Promise.resolve({ profile: credentialsItem, savedCred: credentialsItem.savePassword });