@wocker/ws
Version:
Docker workspace for web projects
14 lines (13 loc) • 773 B
TypeScript
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>;
delete(key: string): Promise<void>;
registerProvider(name: string, provider: KeystoreProvider): void;
}