Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface to the secret database (find or update login secrets)

Hierarchy

  • DatabaseAccessor

Index

Methods

create

  • create(url: string, login: string, password: string, submitUrl?: string | null, realm?: string | null): void
  • Parameters

    • url: string
    • login: string
    • password: string
    • Optional submitUrl: string | null
    • Optional realm: string | null

    Returns void

getHash

  • getHash(): string
  • Get a hex hash uniquely identifying the opened database. In KeePass, this is composed of RootGroup UUid and RecycleBin UUid.

    Returns string

search

  • Search for entries matching the passed query

    Parameters

    • query: SearchQuery

      Search query for login entries. All fields may be empty, in which case all applicable login entries should be returned

    Returns DatabaseEntry[]

update

  • update(uuid: string, login: string, password: string): void
  • Update login/password of an existing entry

    Parameters

    • uuid: string

      Unique identifier of the entry to update (as returned from search)

    • login: string
    • password: string

    Returns void