Interface CredentialsProvider

interface CredentialsProvider {
    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>;
}

Hierarchy (view full)

Methods