Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GenericKeychainAccess

@ignore

Hierarchy

  • GenericKeychainAccess

Implements

Index

Methods

getPassword

  • getPassword(opts: ProgramOpts, fn: function): Promise<void>
  • Parameters

    • opts: ProgramOpts
    • fn: function
        • (error: Nullable<Error>, password?: undefined | string): void
        • Parameters

          • error: Nullable<Error>
          • Optional password: undefined | string

          Returns void

    Returns Promise<void>

Protected isValidFileAccess

  • isValidFileAccess(cb: function): Promise<void>
  • Parameters

    • cb: function
        • (error: Nullable<ErrnoException>): Promise<void>
        • Parameters

          • error: Nullable<ErrnoException>

          Returns Promise<void>

    Returns Promise<void>

setPassword

  • setPassword(opts: ProgramOpts, fn: function): Promise<void>
  • Parameters

    • opts: ProgramOpts
    • fn: function
        • (error: Nullable<Error>, password?: undefined | string): void
        • Parameters

          • error: Nullable<Error>
          • Optional password: undefined | string

          Returns void

    Returns Promise<void>