mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 01:25:38 -05:00
Fix access token refresh design (ADS only) (#21206)
This commit is contained in:
@@ -176,7 +176,7 @@ export interface IConnectionManagementService {
|
||||
|
||||
isConnected(fileUri: string): boolean;
|
||||
|
||||
refreshAzureAccountTokenIfNecessary(uri: string): Promise<boolean>;
|
||||
refreshAzureAccountTokenIfNecessary(uriOrConnectionProfile: string | ConnectionProfile): Promise<boolean>;
|
||||
/**
|
||||
* Returns true if the connection profile is connected
|
||||
*/
|
||||
|
||||
@@ -319,7 +319,7 @@ export class TestConnectionManagementService implements IConnectionManagementSer
|
||||
return undefined!;
|
||||
}
|
||||
|
||||
refreshAzureAccountTokenIfNecessary(uri: string): Promise<boolean> {
|
||||
refreshAzureAccountTokenIfNecessary(uriOrConnectionProfile: string | ConnectionProfile): Promise<boolean> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user