mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 09:35:37 -05:00
Change dialog style for Device code flow dialog (#23417)
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): Promise<void>;
|
||||
copyUserCodeAndOpenBrowser(userCode: string, uri: string): Promise<boolean>;
|
||||
|
||||
// SERVICE MANAGEMENT METHODS /////////////////////////////////////////
|
||||
registerProvider(providerMetadata: azdata.AccountProviderMetadata, provider: azdata.AccountProvider): void;
|
||||
|
||||
@@ -35,8 +35,8 @@ export class TestAccountManagementService implements IAccountManagementService {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
async copyUserCodeAndOpenBrowser(userCode: string, uri: string): Promise<void> {
|
||||
return;
|
||||
async copyUserCodeAndOpenBrowser(userCode: string, uri: string): Promise<boolean> {
|
||||
return true;
|
||||
}
|
||||
|
||||
getAccountProviderMetadata(): Promise<azdata.AccountProviderMetadata[]> {
|
||||
|
||||
Reference in New Issue
Block a user