Provide the main features of the Ecosystem SDK.

Hierarchy

  • EcosystemService

Properties

delete: (() => Promise<DeleteResult>)

Type declaration

    • (): Promise<DeleteResult>
    • Delete all cached policies of the current ecosystem instance.

      Returns Promise<DeleteResult>

destroy: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Destroy the current ecosystem instance, wiping any stored data.

      Returns Promise<void>

initialise: ((options) => Promise<InitialiseResult>)

Type declaration

    • (options): Promise<InitialiseResult>
    • Initialize an ecosystem instance with the specified InitialiseOptions.

      Parameters

      • options: InitialiseOptions$1

      Returns Promise<InitialiseResult>

sync: ((options) => Promise<SyncResult>)

Type declaration

    • (options): Promise<SyncResult>
    • Synchronize and cache ecosystem policies for the current ecosystem instance with the specified SyncOption.

      Parameters

      • options: SyncOption

      Returns Promise<SyncResult>

validateIssuer: ((options) => Promise<ValidateIssuerResult>)

Type declaration

    • (options): Promise<ValidateIssuerResult>
    • Validate that the specified ValidateIssuerOption is authorized to issue the credential.

      Parameters

      • options: ValidateIssuerOption

      Returns Promise<ValidateIssuerResult>

validateVerifier: ((options) => Promise<ValidateVerifierResult>)

Type declaration

    • (options): Promise<ValidateVerifierResult>
    • Validate that the specified ValidateVerifierOption is authorised to verify the credential.

      Parameters

      • options: ValidateVerifierOption

      Returns Promise<ValidateVerifierResult>

Generated using TypeDoc