cmd-sync-servers - v1.0.0
    Preparing search index...

    Interface KeyringEntry

    The part of a @napi-rs/keyring entry this store uses.

    interface KeyringEntry {
        deleteCredential(): Promise<boolean>;
        getPassword(): Promise<string | null>;
        setPassword(password: string): Promise<void>;
    }
    Index
    • Deletes the stored secret; true when there was one.

      Returns Promise<boolean>

    • The stored secret, or null when there is none.

      Returns Promise<string | null>

    • Stores a secret, replacing any stored before.

      Parameters

      • password: string

      Returns Promise<void>