Interface KeyStoreService

interface KeyStoreService {
    deletePassword(service, account): Promise<boolean>;
    findCredentials(service): Promise<{
        account: string;
        password: string;
    }[]>;
    findPassword(service): Promise<undefined | string>;
    getPassword(service, account): Promise<undefined | string>;
    setPassword(service, account, password): Promise<void>;
}

Implemented by

Methods

  • Parameters

    • service: string

    Returns Promise<{
        account: string;
        password: string;
    }[]>