Interface for a credential provider.

Hierarchy

  • ICredentialProvider

Methods

  • Get a specific credential for a given DID and VC ID.

    Parameters

    • did: string

      The DID to get the credential for.

    • vcId: string

      The ID of the credential to get.

    Returns Promise<any>

    • A promise that resolves to the requested credential.
  • Get a list of credentials for a given DID.

    Parameters

    • did: string

      The DID to get credentials for.

    Returns Promise<string[]>

    • A promise that resolves to an array of credential IDs.
  • Get the status of a specific credential for a given DID and VC ID.

    Parameters

    • did: string

      The DID to get the credential status for.

    • vcId: string

      The ID of the credential to get the status for.

    Returns Promise<any>

    • A promise that resolves to the status of the requested credential.
  • Get an updated version of a specific credential for a given DID and VC ID.

    Parameters

    • did: string

      The DID to get the credential for.

    • vcId: string

      The ID of the credential to get.

    Returns Promise<any>

    • A promise that resolves to the updated credential.

Generated using TypeDoc