Show message indicating that ADAL is being deprecated (#22432)

* show message indicating that ADAL is being deprecated

* pr comments update

* added settings deprecation message

* fix deprecation message
This commit is contained in:
Christopher Suh
2023-03-24 14:42:45 -07:00
committed by GitHub
parent 31ac636222
commit 738987c4d5
4 changed files with 8 additions and 3 deletions

View File

@@ -305,6 +305,9 @@ async function onDidChangeConfiguration(e: vscode.ConfigurationChangeEvent): Pro
updatePiiLoggingLevel();
}
if (e.affectsConfiguration('azure.authenticationLibrary')) {
if (vscode.workspace.getConfiguration(Constants.AzureSection).get('authenticationLibrary') === 'ADAL') {
void vscode.window.showInformationMessage(loc.deprecatedOption);
}
await displayReloadAds();
}
}
@@ -327,4 +330,3 @@ async function displayReloadAds(): Promise<boolean> {
}
}