Options
All
  • Public
  • Public/Protected
  • All
Menu

Module common/credentialStore

Index

Functions

deleteCredential

  • deleteCredential(key: string): void

getCredential

  • getCredential(key: string): unknown | null
  • Returns a credential from the credential store.

    Parameters

    • key: string

      Key to search by.

    Returns unknown | null

    Value of specified key, or undefined if not defined.

hasCredential

  • hasCredential(key: string): boolean
  • Checks if a credential is defined in the credential store.

    Parameters

    • key: string

      Key to search by.

    Returns boolean

    Whether store contains a definition for this key.

setCredential

  • setCredential(key: string, value: string): void
  • Sets a credential in the credential store.

    Parameters

    • key: string

      Key to define.

    • value: string

      Value to define for the key.

    Returns void

Generated using TypeDoc