@wocker/ws
Version:
Docker workspace for web projects
16 lines (15 loc) • 714 B
TypeScript
import { AppFileSystemService, KeystoreProvider } from "@wocker/core";
import { FileKeystore } from "../types/FileKeystore";
export declare class FileKeystoreProvider extends KeystoreProvider {
protected readonly fs: AppFileSystemService;
protected password?: string;
protected encryptionKey?: Buffer;
protected _keystore?: FileKeystore;
constructor(fs: AppFileSystemService);
protected get keystore(): FileKeystore;
protected get passwordHash(): string | undefined;
protected getEncryptionKey(): Promise<Buffer>;
get(key: string, defaultValue?: string): Promise<string | undefined>;
set(key: string, value: string): Promise<void>;
delete(key: string): Promise<void>;
}