mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-31 01:25:42 -05:00
Renamed RefreshAzureToken to RefreshAuthToken. Changed provider value to authenticationType. (#1183)
This commit is contained in:
@@ -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"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user