mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-28 17:24:27 -05:00
Introduce AAD interactive auth mode (#1860)
This commit is contained in:
@@ -19,6 +19,7 @@ using System.Diagnostics;
|
||||
using Microsoft.Kusto.ServiceLayer.DataSource;
|
||||
using Microsoft.Kusto.ServiceLayer.DataSource.Metadata;
|
||||
using Microsoft.SqlTools.ServiceLayer.Connection.ReliableConnection;
|
||||
using static Microsoft.SqlTools.Shared.Utility.Constants;
|
||||
|
||||
namespace Microsoft.Kusto.ServiceLayer.Connection
|
||||
{
|
||||
@@ -916,7 +917,7 @@ namespace Microsoft.Kusto.ServiceLayer.Connection
|
||||
return new ConnectionDetails
|
||||
{
|
||||
ApplicationName = builder.ApplicationNameForTracing,
|
||||
AuthenticationType = "AzureMFA",
|
||||
AuthenticationType = AzureMFA,
|
||||
DatabaseName = builder.InitialCatalog,
|
||||
ServerName = builder.DataSource,
|
||||
UserName = builder.UserID,
|
||||
|
||||
Reference in New Issue
Block a user