diff --git a/src/vs/workbench/api/common/extHostExtensionService.ts b/src/vs/workbench/api/common/extHostExtensionService.ts index 4d412233d10..4e902bf8333 100644 --- a/src/vs/workbench/api/common/extHostExtensionService.ts +++ b/src/vs/workbench/api/common/extHostExtensionService.ts @@ -699,7 +699,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme const options: ResolvedOptions = { extensionHostEnv: result.extensionHostEnv, isTrusted: result.isTrusted, - authenticationSession: result.authenticationSession ? { id: result.authenticationSession.id, providerId: result.authenticationSession.providerId } : undefined + authenticationSession: result.authenticationSessionForInitializingExtensions ? { id: result.authenticationSessionForInitializingExtensions.id, providerId: result.authenticationSessionForInitializingExtensions.providerId } : undefined }; return { diff --git a/src/vscode-dts/vscode.proposed.resolvers.d.ts b/src/vscode-dts/vscode.proposed.resolvers.d.ts index 8936603d970..211c201028d 100644 --- a/src/vscode-dts/vscode.proposed.resolvers.d.ts +++ b/src/vscode-dts/vscode.proposed.resolvers.d.ts @@ -32,11 +32,9 @@ declare module 'vscode' { isTrusted?: boolean; /** - * When provided, remote server will be initialized with the data synced using given user account. - * **Note:** Initialization happens only when VSCode is opened in Desktop and only extensions are initialized as of now. + * When provided, remote server will be initialized with the extensions synced using the given user account. */ - // authenticationSession(ForInitialization|ForInitializingExtensions)? - authenticationSession?: AuthenticationSession & { providerId: string }; + authenticationSessionForInitializingExtensions?: AuthenticationSession & { providerId: string }; } export interface TunnelPrivacy {