UNPKG

sussudio

Version:

An unofficial VS Code Internal API

17 lines (16 loc) 1.12 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ILogService } from "../../log/common/log.mjs"; import { INativeEnvironmentService } from "../../environment/common/environment.mjs"; import { IProductService } from "../../product/common/productService.mjs"; import { BaseCredentialsMainService, KeytarModule } from "../common/credentialsMainService.mjs"; export declare class CredentialsWebMainService extends BaseCredentialsMainService { private readonly environmentMainService; private readonly productService; protected surfaceKeytarLoadError?: (err: any) => void; constructor(logService: ILogService, environmentMainService: INativeEnvironmentService, productService: IProductService); getSecretStoragePrefix(): Promise<string>; protected withKeytar(): Promise<KeytarModule>; }