Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICredentialStore

Interface for credential stores which are used to store and lookup credentials to authenticate against external services.

see

CredentialParams

see

ConnectionParams

Hierarchy

  • ICredentialStore

Implemented by

Index

Methods

Methods

lookup

  • lookup(correlationId: string, key: string, callback: function): void
  • Lookups credential parameters by its key.

    Parameters

    • correlationId: string

      (optional) transaction id to trace execution through call chain.

    • key: string

      a key to uniquely identify the credential.

    • callback: function

      callback function that receives found credential or error.

    Returns void

store

  • store(correlationId: string, key: String, credential: CredentialParams, callback: function): void
  • Stores credential parameters into the store.

    Parameters

    • correlationId: string

      (optional) transaction id to trace execution through call chain.

    • key: String

      a key to uniquely identify the credential.

    • credential: CredentialParams

      a credential to be stored.

    • callback: function

      callback function that receives an error or null for success.

        • (err: any): void
        • Parameters

          • err: any

          Returns void

    Returns void

Generated using TypeDoc