UNPKG

@wocker/ws

Version:

Docker workspace for web projects

13 lines (12 loc) 733 B
import { AppConfigService, AppFileSystemService, KeystoreService as CoreKeystoreService, KeystoreProvider } from "@wocker/core"; export declare class KeystoreService extends CoreKeystoreService { protected readonly appConfigService: AppConfigService; protected readonly fs: AppFileSystemService; protected providers: Map<string, KeystoreProvider>; constructor(appConfigService: AppConfigService, fs: AppFileSystemService); hasProvider(name: string): boolean; provider(name?: string): KeystoreProvider; get(keys: string | string[], byDefault?: string): Promise<string | undefined>; set(key: string, value: string): Promise<void>; registerProvider(name: string, provider: KeystoreProvider): void; }