@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
25 lines (23 loc) • 1.27 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;
}