mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
Support ActiveDirectoryPassword authentication (#899)
This commit is contained in:
@@ -1135,6 +1135,9 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
|
||||
connectionBuilder.UserID = "";
|
||||
connectionBuilder.Password = "";
|
||||
break;
|
||||
case "ActiveDirectoryPassword":
|
||||
connectionBuilder.Authentication = SqlAuthenticationMethod.ActiveDirectoryPassword;
|
||||
break;
|
||||
default:
|
||||
throw new ArgumentException(SR.ConnectionServiceConnStringInvalidAuthType(connectionDetails.AuthenticationType));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user