mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fixes ADS Web bug around copying user codes and opening a browser tab when adding an Azure Account. (#17760)
* Fixes bug around copying user codes and opening a browser tab. * Code review changes * Additional review changes. * Unnecessary import removed
This commit is contained in:
@@ -35,7 +35,7 @@ export interface IAccountManagementService {
|
||||
beginAutoOAuthDeviceCode(providerId: string, title: string, message: string, userCode: string, uri: string): Promise<void>;
|
||||
endAutoOAuthDeviceCode(): void;
|
||||
cancelAutoOAuthDeviceCode(providerId: string): void;
|
||||
copyUserCodeAndOpenBrowser(userCode: string, uri: string): void;
|
||||
copyUserCodeAndOpenBrowser(userCode: string, uri: string): Promise<void>;
|
||||
|
||||
// SERVICE MANAGEMENT METHODS /////////////////////////////////////////
|
||||
registerProvider(providerMetadata: azdata.AccountProviderMetadata, provider: azdata.AccountProvider): void;
|
||||
|
||||
@@ -35,8 +35,8 @@ export class TestAccountManagementService implements IAccountManagementService {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
copyUserCodeAndOpenBrowser(userCode: string, uri: string): void {
|
||||
return undefined;
|
||||
async copyUserCodeAndOpenBrowser(userCode: string, uri: string): Promise<void> {
|
||||
return;
|
||||
}
|
||||
|
||||
getAccountProviderMetadata(): Promise<azdata.AccountProviderMetadata[]> {
|
||||
|
||||
Reference in New Issue
Block a user