ML - Removing reference to deprecated API (#11733)

* Removing reference to deprecated API
This commit is contained in:
Leila Lali
2020-08-10 13:06:47 -07:00
committed by GitHub
parent 858c1e826d
commit f7cd25af71
2 changed files with 6 additions and 9 deletions

View File

@@ -99,8 +99,8 @@ export class ApiWrapper {
return azdata.accounts.getAllAccounts();
}
public getSecurityToken(account: azdata.Account, resource: azdata.AzureResource): Thenable<{ [key: string]: any }> {
return azdata.accounts.getSecurityToken(account, resource);
public getAccountSecurityToken(account: azdata.Account, tenant: string, resource: azdata.AzureResource): Thenable<{ token: string, tokenType?: string } | undefined> {
return azdata.accounts.getAccountSecurityToken(account, tenant, resource);
}
public showQuickPick<T extends vscode.QuickPickItem>(items: T[] | Thenable<T[]>, options?: vscode.QuickPickOptions, token?: vscode.CancellationToken): Thenable<T | undefined> {