sussudio
Version:
An unofficial VS Code Internal API
19 lines (18 loc) • 1.28 kB
text/typescript
/*---------------------------------------------------------------------------------------------
* 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 { IWindowsMainService } from "../../windows/electron-main/windows.mjs";
import { BaseCredentialsMainService, KeytarModule } from "../common/credentialsMainService.mjs";
export declare class CredentialsNativeMainService extends BaseCredentialsMainService {
private readonly environmentMainService;
private readonly productService;
private readonly windowsMainService;
constructor(logService: ILogService, environmentMainService: INativeEnvironmentService, productService: IProductService, windowsMainService: IWindowsMainService);
getSecretStoragePrefix(): Promise<string>;
protected withKeytar(): Promise<KeytarModule>;
protected surfaceKeytarLoadError: (err: any) => void;
}