Renamed RefreshAzureToken to RefreshAuthToken. Changed provider value to authenticationType. (#1183)

This commit is contained in:
Justin M
2021-03-29 15:08:09 -07:00
committed by GitHub
parent 2badd8e728
commit c483cea88c
2 changed files with 3 additions and 3 deletions

View File

@@ -266,7 +266,7 @@ namespace Microsoft.Kusto.ServiceLayer.Connection
return completeParams;
}
internal string RefreshAzureToken(string ownerUri)
internal string RefreshAuthToken(string ownerUri)
{
TryFindConnection(ownerUri, out ConnectionInfo connection);
@@ -274,7 +274,7 @@ namespace Microsoft.Kusto.ServiceLayer.Connection
{
AccountId = connection.ConnectionDetails.GetOptionValue("azureAccount", string.Empty),
Authority = connection.ConnectionDetails.GetOptionValue("azureTenantId", string.Empty),
Provider = "Azure",
Provider = connection.ConnectionDetails.AuthenticationType,
Resource = "SQL"
};